| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
name: CodeQL Advanced |
| 5 |
|
| 6 |
on: |
| 7 |
push: |
| 8 |
branches: [ main, v3, v2, v1 ] |
| 9 |
pull_request: |
| 10 |
branches: [ main, v3, v2, v1 ] |
| 11 |
schedule: |
| 12 |
- cron: 17 13 * * 3 |
| 13 |
|
| 14 |
permissions: read-all |
| 15 |
|
| 16 |
jobs: |
| 17 |
analyze: |
| 18 |
name: Analyze (${{ matrix.language }}) |
| 19 |
runs-on: ubuntu-latest |
| 20 |
permissions: |
| 21 |
|
| 22 |
security-events: write |
| 23 |
|
| 24 |
strategy: |
| 25 |
fail-fast: false |
| 26 |
matrix: |
| 27 |
include: |
| 28 |
- language: actions |
| 29 |
build-mode: none |
| 30 |
- language: go |
| 31 |
build-mode: autobuild |
| 32 |
|
| 33 |
steps: |
| 34 |
- name: Checkout repository |
| 35 |
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 |
| 36 |
with: |
| 37 |
persist-credentials: false |
| 38 |
|
| 39 |
|
| 40 |
- name: Initialize CodeQL |
| 41 |
|
| 42 |
uses: github/codeql-action/init@87557b9c84dde89fdd9b10e88954ac2f4248e463 |
| 43 |
with: |
| 44 |
languages: ${{ matrix.language }} |
| 45 |
build-mode: ${{ matrix.build-mode }} |
| 46 |
|
| 47 |
- name: Perform CodeQL Analysis |
| 48 |
|
| 49 |
uses: github/codeql-action/analyze@87557b9c84dde89fdd9b10e88954ac2f4248e463 |
| 50 |
with: |
| 51 |
category: /language:${{matrix.language}} |