File tree 1 file changed +34
-0
lines changed
1 file changed +34
-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 : ' 21 13 * * 2'
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
+ security-events : write
18
+ strategy :
19
+ fail-fast : false
20
+ matrix :
21
+ language : [ 'javascript-typescript' ]
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
+ - name : Autobuild
30
+ uses : github/codeql-action/autobuild@v3
31
+ - name : Perform CodeQL Analysis
32
+ uses : github/codeql-action/analyze@v3
33
+ with :
34
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments