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