File tree Expand file tree Collapse file tree 2 files changed +8
-34
lines changed Expand file tree Collapse file tree 2 files changed +8
-34
lines changed Original file line number Diff line number Diff line change 1- name : CodeQL Actions Analysis
1+ name : CodeQL Analysis
22
33on :
44 workflow_dispatch :
77 - master
88 pull_request :
99 paths :
10+ - " **/*.py"
1011 - " .github/workflows/*.yml"
1112 - " .github/workflows/*.yaml"
1213
1314jobs :
1415 codeql-analysis :
15- name : CodeQL Actions Analysis
16+ name : CodeQL ${{ matrix.language }} analysis
1617 runs-on : ubuntu-latest
18+ strategy :
19+ matrix :
20+ language : [python, actions]
1721
1822 steps :
1923 - name : Checkout repository
@@ -22,10 +26,10 @@ jobs:
2226 - name : Initialize CodeQL
2327 uses : github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
2428 with :
25- languages : actions
29+ languages : ${{ matrix.language }}
2630 config-file : ./.github/codeql/codeql-config.yml
2731
2832 - name : Run CodeQL Analysis
2933 uses : github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
3034 with :
31- category : " Analysis: Actions "
35+ category : " /language:${{ matrix.language }} "
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments