File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL Analysis"
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request :
9+ schedule :
10+ - cron : " 0 0 * * 1"
11+
12+ permissions :
13+ contents : read
14+ security-events : write
15+
16+ jobs :
17+ analyze :
18+ name : Analyze Code
19+ runs-on : ubuntu-latest
20+ permissions :
21+ contents : read
22+ security-events : write
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ language : [ 'python' ]
28+
29+ steps :
30+ - name : Checkout repository
31+ uses : actions/checkout@v3
32+
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 Autobuild
40+ uses : github/codeql-action/autobuild@v3
41+
42+ - name : Run CodeQL Analysis
43+ uses : github/codeql-action/analyze@v3
44+ with :
45+ category : " security"
You can’t perform that action at this time.
0 commit comments