File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * 1'
6+
7+ permissions :
8+ contents : read
9+ security-events : write
10+ pull-requests : read
11+ actions : read
12+
13+ jobs :
14+ analyze :
15+ name : Analyze
16+
17+ runs-on : ubuntu-latest
18+
19+ permissions :
20+ actions : read
21+ contents : read
22+ security-events : write
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ language : [ 'cpp', 'python' ]
28+
29+ steps :
30+ - name : Checkout repository
31+ uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
32+
33+ # Initializes the CodeQL tools for scanning.
34+ - name : Initialize CodeQL
35+ uses : github/codeql-action/init@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
36+ with :
37+ languages : ${{ matrix.language }}
38+
39+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
40+ # If this step fails, then you should remove it and run the build manually (see below)
41+ - name : Autobuild
42+ uses : github/codeql-action/autobuild@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
43+
44+ - name : Perform CodeQL Analysis
45+ uses : github/codeql-action/analyze@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
46+ with :
47+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments