File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " codeql"
2
+ on :
3
+ push :
4
+ branches : [ "main" ]
5
+ pull_request :
6
+ branches : [ "main" ]
7
+ schedule :
8
+ - cron : ' 45 18 * * 4'
9
+ jobs :
10
+ analyze :
11
+ name : Analyze (${{ matrix.language }})
12
+ runs-on : ${{ 'ubuntu-latest' }}
13
+ permissions :
14
+ security-events : write
15
+ packages : read
16
+ actions : read
17
+ contents : read
18
+ strategy :
19
+ fail-fast : false
20
+ matrix :
21
+ include :
22
+ - language : actions
23
+ build-mode : none
24
+ - language : go
25
+ build-mode : manual
26
+ - language : python
27
+ build-mode : none
28
+ steps :
29
+ - name : Checkout repository
30
+ uses : actions/checkout@v4
31
+ - name : Initialize CodeQL
32
+ uses : github/codeql-action/init@v3
33
+ with :
34
+ languages : ${{ matrix.language }}
35
+ build-mode : ${{ matrix.build-mode }}
36
+ - if : matrix.build-mode == 'manual'
37
+ shell : bash
38
+ run : |
39
+ make build
40
+ - name : Perform CodeQL Analysis
41
+ uses : github/codeql-action/analyze@v3
42
+ with :
43
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments