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"
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+ schedule :
9+ - cron : ' 37 21 * * 4'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze
14+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+ timeout-minutes : ${{ (matrix.language == 'swift' && 120) || 360 }}
16+ permissions :
17+ actions : read
18+ contents : read
19+ security-events : write
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ language : [ 'javascript', 'python' ]
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v3
28+
29+ - name : Initialize CodeQL
30+ uses : github/codeql-action/init@v2
31+ with :
32+ languages : ${{ matrix.language }}
33+ - name : Autobuild
34+ uses : github/codeql-action/autobuild@v2
35+
36+ - name : Perform CodeQL Analysis
37+ uses : github/codeql-action/analyze@v2
38+ with :
39+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments