| 1 |
name: CodeQL |
| 2 |
on: |
| 3 |
push: |
| 4 |
pull_request: |
| 5 |
schedule: |
| 6 |
- cron: '0 1 * * 4' |
| 7 |
concurrency: |
| 8 |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 9 |
cancel-in-progress: true |
| 10 |
jobs: |
| 11 |
analyze: |
| 12 |
name: Analyze |
| 13 |
runs-on: ubuntu-latest |
| 14 |
permissions: |
| 15 |
actions: read |
| 16 |
contents: read |
| 17 |
security-events: write |
| 18 |
steps: |
| 19 |
- name: Checkout repository |
| 20 |
uses: actions/checkout@v4 |
| 21 |
with: |
| 22 |
|
| 23 |
|
| 24 |
fetch-depth: 2 |
| 25 |
|
| 26 |
|
| 27 |
- name: Initialize CodeQL |
| 28 |
uses: github/codeql-action/init@v3 |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
- name: Autobuild |
| 33 |
uses: github/codeql-action/autobuild@v3 |
| 34 |
|
| 35 |
- name: Perform CodeQL Analysis |
| 36 |
uses: github/codeql-action/analyze@v3 |