File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-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 : ' 37 16 * * 3'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze
14+
15+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
16+ timeout-minutes : ${{ (matrix.language == 'swift' && 120) || 360 }}
17+ permissions :
18+ actions : read
19+ contents : read
20+ security-events : write
21+
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ language : ['python']
26+
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+
37+ - name : Autobuild
38+ uses : github/codeql-action/autobuild@v3
39+
40+ - name : Perform CodeQL Analysis
41+ uses : github/codeql-action/analyze@v3
42+ with :
43+ category : ' /language:${{matrix.language}}'
You can’t perform that action at this time.
0 commit comments