| 1 |
name: "CodeQL" |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: [ master ] |
| 6 |
pull_request: |
| 7 |
# The branches below must be a subset of the branches above |
| 8 |
branches: [ master ] |
| 9 |
schedule: |
| 10 |
- cron: '41 7 * * 5' |
| 11 |
|
| 12 |
jobs: |
| 13 |
analyze: |
| 14 |
name: Analyze |
| 15 |
runs-on: ubuntu-latest |
| 16 |
|
| 17 |
strategy: |
| 18 |
fail-fast: false |
| 19 |
matrix: |
| 20 |
language: [ 'python' ] |
| 21 |
|
| 22 |
steps: |
| 23 |
- name: Checkout repository |
| 24 |
uses: actions/checkout@v3 |
| 25 |
|
| 26 |
# Initializes the CodeQL tools for scanning. |
| 27 |
- name: Initialize CodeQL |
| 28 |
uses: github/codeql-action/init@v1 |
| 29 |
with: |
| 30 |
languages: ${{ matrix.language }} |
| 31 |
|
| 32 |
- name: Autobuild |
| 33 |
uses: github/codeql-action/autobuild@v1 |
| 34 |
|
| 35 |
# âšī¸ Command-line programs to run using the OS shell. |
| 36 |
# đ https://git.io/JvXDl |
| 37 |
|
| 38 |
# âī¸ If the Autobuild fails above, remove it and uncomment the following three lines |
| 39 |
# and modify them (or add more) to build your code if your project |
| 40 |
# uses a compiled language |
| 41 |
|
| 42 |
#- run: | |
| 43 |
# make bootstrap |
| 44 |
# make release |
| 45 |
|
| 46 |
- name: Perform CodeQL Analysis |
| 47 |
uses: github/codeql-action/analyze@v1 |