Skip to content

Commit

Permalink
CI: Add CodeQL Github Action (#47890)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored Jul 30, 2022
1 parent 76de473 commit 6e1a040
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CodeQL
on:
schedule:
# every day at midnight
- cron: "0 0 * * *"

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
analyze:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language:
- python

steps:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v2

0 comments on commit 6e1a040

Please sign in to comment.