File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : " CodeQL Advanced"
3
+
4
+ on :
5
+ push :
6
+
7
+ jobs :
8
+ analyze :
9
+ name : Analyze (${{ matrix.language }})
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ # required for all workflows
13
+ security-events : write
14
+
15
+ # required to fetch internal or private CodeQL packs
16
+ packages : read
17
+
18
+ # only required for workflows in private repositories
19
+ actions : read
20
+ contents : read
21
+
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ include :
26
+ - language : actions
27
+ - language : python
28
+ steps :
29
+ - name : Checkout repository
30
+ uses : actions/checkout@v4
31
+
32
+ # Initializes the CodeQL tools for scanning.
33
+ - name : Initialize CodeQL
34
+ uses : github/codeql-action/init@v3
35
+ with :
36
+ languages : ${{ matrix.language }}
37
+ build-mode : none
38
+
39
+ - name : Perform CodeQL Analysis
40
+ uses : github/codeql-action/analyze@v3
41
+ with :
42
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments