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
2
2
3
3
on :
4
4
workflow_dispatch :
7
7
- master
8
8
pull_request :
9
9
paths :
10
+ - " **/*.py"
10
11
- " .github/workflows/*.yml"
11
12
- " .github/workflows/*.yaml"
12
13
13
14
jobs :
14
15
codeql-analysis :
15
- name : CodeQL Actions Analysis
16
+ name : CodeQL ${{ matrix.language }} analysis
16
17
runs-on : ubuntu-latest
18
+ strategy :
19
+ matrix :
20
+ language : [python, actions]
17
21
18
22
steps :
19
23
- name : Checkout repository
@@ -22,10 +26,10 @@ jobs:
22
26
- name : Initialize CodeQL
23
27
uses : github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
24
28
with :
25
- languages : actions
29
+ languages : ${{ matrix.language }}
26
30
config-file : ./.github/codeql/codeql-config.yml
27
31
28
32
- name : Run CodeQL Analysis
29
33
uses : github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
30
34
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