| 1 |
--- |
| 2 |
name: CodeQL |
| 3 |
|
| 4 |
on: |
| 5 |
schedule: |
| 6 |
- cron: "30 22 * * 4" |
| 7 |
|
| 8 |
permissions: |
| 9 |
contents: read |
| 10 |
|
| 11 |
jobs: |
| 12 |
analyze: |
| 13 |
name: Analyze |
| 14 |
runs-on: ubuntu-latest |
| 15 |
permissions: |
| 16 |
actions: read |
| 17 |
contents: read |
| 18 |
security-events: write |
| 19 |
|
| 20 |
strategy: |
| 21 |
fail-fast: false |
| 22 |
matrix: |
| 23 |
language: [python] |
| 24 |
|
| 25 |
steps: |
| 26 |
- name: Checkout repository |
| 27 |
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 28 |
with: |
| 29 |
persist-credentials: false |
| 30 |
|
| 31 |
- name: Initialize CodeQL |
| 32 |
uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6 |
| 33 |
with: |
| 34 |
languages: ${{ matrix.language }} |
| 35 |
|
| 36 |
- name: Autobuild |
| 37 |
uses: github/codeql-action/autobuild@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6 |
| 38 |
|
| 39 |
- name: Perform CodeQL Analysis |
| 40 |
uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6 |