|
1 | | -name: "CodeQL" |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - branches: [ "main", "v*-branch" ] |
6 | | - pull_request: |
7 | | - branches: [ "main", "v*-branch" ] |
8 | | - schedule: |
9 | | - - cron: '18 2 * * 6' |
10 | | - |
11 | | -permissions: |
12 | | - contents: read |
13 | | - |
14 | | -jobs: |
15 | | - analyze: |
16 | | - name: Analyze (${{ matrix.language }}) |
17 | | - runs-on: ubuntu-24.04 |
18 | | - permissions: |
19 | | - # required for all workflows |
20 | | - security-events: write |
21 | | - # required to fetch internal or private CodeQL packs |
22 | | - packages: read |
23 | | - |
24 | | - strategy: |
25 | | - fail-fast: false |
26 | | - matrix: |
27 | | - include: |
28 | | - - language: actions |
29 | | - build-mode: none |
30 | | - - language: python |
31 | | - build-mode: none |
32 | | - |
33 | | - steps: |
34 | | - - name: Checkout repository |
35 | | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
36 | | - with: |
37 | | - persist-credentials: false |
38 | | - |
39 | | - - name: Initialize CodeQL |
40 | | - uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0 |
41 | | - with: |
42 | | - languages: ${{ matrix.language }} |
43 | | - build-mode: ${{ matrix.build-mode }} |
44 | | - |
45 | | - - name: Perform CodeQL Analysis |
46 | | - uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0 |
47 | | - with: |
48 | | - category: "/language:${{matrix.language}}" |
| 1 | +name: "CodeQL" |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [ "main", "v*-branch" ] |
| 6 | + pull_request: |
| 7 | + branches: [ "main", "v*-branch" ] |
| 8 | + schedule: |
| 9 | + - cron: '18 2 * * 6' |
| 10 | + |
| 11 | +permissions: |
| 12 | + contents: read |
| 13 | + |
| 14 | +jobs: |
| 15 | + analyze: |
| 16 | + name: Analyze (${{ matrix.language }}) |
| 17 | + runs-on: ubuntu-24.04 |
| 18 | + permissions: |
| 19 | + # required for all workflows |
| 20 | + security-events: write |
| 21 | + # required to fetch internal or private CodeQL packs |
| 22 | + packages: read |
| 23 | + |
| 24 | + strategy: |
| 25 | + fail-fast: false |
| 26 | + matrix: |
| 27 | + include: |
| 28 | + - language: actions |
| 29 | + build-mode: none |
| 30 | + - language: python |
| 31 | + build-mode: none |
| 32 | + |
| 33 | + steps: |
| 34 | + - name: Checkout repository |
| 35 | + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 36 | + with: |
| 37 | + persist-credentials: false |
| 38 | + |
| 39 | + - name: Initialize CodeQL |
| 40 | + uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0 |
| 41 | + with: |
| 42 | + languages: ${{ matrix.language }} |
| 43 | + build-mode: ${{ matrix.build-mode }} |
| 44 | + |
| 45 | + - name: Perform CodeQL Analysis |
| 46 | + uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0 |
| 47 | + with: |
| 48 | + category: "/language:${{matrix.language}}" |
0 commit comments