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