File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-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 : ' 00 4 * * 2'
9
+ jobs :
10
+ analyze :
11
+ name : Analyze
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ security-events : write
15
+ strategy :
16
+ fail-fast : false
17
+ matrix :
18
+ language : ['python']
19
+ steps :
20
+ - name : Checkout repository
21
+ uses : actions/checkout@v4
22
+ - name : Initialize CodeQL
23
+ uses : github/codeql-action/init@v3
24
+ with :
25
+ languages : ${{ matrix.language }}
26
+ config : |
27
+ paths-ignore:
28
+ - 'examples/snippets/**/*.py'
29
+ - name : Autobuild
30
+ uses : github/codeql-action/autobuild@v3
31
+ - name : Perform CodeQL Analysis
32
+ uses : github/codeql-action/analyze@v3
33
+ with :
34
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments