| 1 |
name: "CodeQL" |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: ["develop"] |
| 6 |
pull_request: |
| 7 |
branches: ["develop"] |
| 8 |
schedule: |
| 9 |
- cron: "0 0 * * 5" |
| 10 |
|
| 11 |
permissions: "read-all" |
| 12 |
|
| 13 |
jobs: |
| 14 |
analyze: |
| 15 |
name: "Analyze" |
| 16 |
runs-on: "ubuntu-latest" |
| 17 |
permissions: |
| 18 |
actions: read |
| 19 |
contents: read |
| 20 |
security-events: write |
| 21 |
steps: |
| 22 |
- name: "Checkout repository" |
| 23 |
uses: "actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8" |
| 24 |
|
| 25 |
- name: "Run CodeQL init" |
| 26 |
uses: "github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a" |
| 27 |
with: |
| 28 |
config-file: "./.github/codeql.yml" |
| 29 |
languages: "python" |
| 30 |
|
| 31 |
- name: "Run CodeQL autobuild" |
| 32 |
uses: "github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a" |
| 33 |
|
| 34 |
- name: "Run CodeQL analyze" |
| 35 |
uses: "github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a" |