File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ schedule :
9+ - cron : ' 6 6 * * 6'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze (${{ matrix.language }})
14+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+ timeout-minutes : ${{ (matrix.language == 'swift' && 120) || 360 }}
16+ permissions :
17+ security-events : write
18+ actions : read
19+ contents : read
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ include :
25+ - language : python
26+ build-mode : none
27+ steps :
28+ - name : Checkout repository
29+ uses : actions/checkout@v4
30+
31+ # Initializes the CodeQL tools for scanning.
32+ - name : Initialize CodeQL
33+ uses : github/codeql-action/init@v3
34+ with :
35+ languages : ${{ matrix.language }}
36+ build-mode : ${{ matrix.build-mode }}
37+ - name : Perform CodeQL Analysis
38+ uses : github/codeql-action/analyze@v3
39+ with :
40+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments