diff options
| author | 2020-09-20 21:11:33 +0200 | |
|---|---|---|
| committer | 2020-09-20 21:11:33 +0200 | |
| commit | a2cd4e94d4a750e8d14d00a2c743ba176036f48c (patch) | |
| tree | 865d331fbc353fd0afb284579136c581bbd3be6e /.github | |
| parent | Remove unused cache (diff) | |
| parent | Merge pull request #1158 from python-discord/config-update (diff) | |
Merge remote-tracking branch 'upstream/master' into doc-imp
# Conflicts:
# bot/cogs/doc/cog.py
# bot/converters.py
# tests/bot/test_converters.py
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/codeql-analysis.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..8760b35ec --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,32 @@ +name: "Code scanning - action" + +on: + push: + pull_request: + schedule: + - cron: '0 12 * * *' + +jobs: + CodeQL-Build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 2 + + - run: git checkout HEAD^2 + if: ${{ github.event_name == 'pull_request' }} + + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: python + + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 |