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 Advanced"
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ schedule :
9+ - cron : ' 17 13 * * 6' # Every Saturday at 13:17 UTC
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+ packages : read
18+ actions : read
19+ contents : read
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ include :
25+ - language : javascript-typescript
26+ build-mode : none
27+ - language : python
28+ build-mode : none
29+
30+ steps :
31+ - name : Checkout repository
32+ uses : actions/checkout@v4
33+
34+ - name : Initialize CodeQL
35+ uses : github/codeql-action/init@v3
36+ with :
37+ languages : ${{ matrix.language }}
38+ build-mode : ${{ matrix.build-mode }}
39+ # queries: +security-extended,security-and-quality
40+
41+ - if : matrix.build-mode == 'manual'
42+ shell : bash
43+ run : |
44+ echo "Manual build step needed. Add your build commands here."
45+ exit 1
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