File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " CodeQL Advanced"
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ schedule :
9+ - cron : ' 25 20 * * 3'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze (${{ matrix.language }})
14+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+ permissions :
16+ security-events : write
17+
18+ packages : read
19+
20+ actions : read
21+ contents : read
22+
23+ strategy :
24+ fail-fast : false
25+ matrix :
26+ include :
27+ - language : python
28+ build-mode : none
29+ steps :
30+ - name : Checkout repository
31+ uses : actions/checkout@v4
32+
33+ - name : Initialize CodeQL
34+ uses : github/codeql-action/init@v3
35+ with :
36+ languages : ${{ matrix.language }}
37+ build-mode : ${{ matrix.build-mode }}
38+
39+ - if : matrix.build-mode == 'manual'
40+ shell : bash
41+ run : |
42+ echo 'If you are using a "manual" build mode for one or more of the' \
43+ 'languages you are analyzing, replace this with the commands to build' \
44+ 'your code, for example:'
45+ echo ' make bootstrap'
46+ echo ' make release'
47+ exit 1
48+
49+ - name : Perform CodeQL Analysis
50+ uses : github/codeql-action/analyze@v3
51+ with :
52+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments