Commit 18d8e9a 1 parent efc4800 commit 18d8e9a Copy full SHA for 18d8e9a
File tree 1 file changed +56
-0
lines changed
1 file changed +56
-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 : ' 28 6 * * 3'
10
+
11
+ jobs :
12
+ analyze :
13
+ name : Analyze (${{ matrix.language }})
14
+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15
+ timeout-minutes : 60
16
+ permissions :
17
+ # required for all workflows
18
+ security-events : write
19
+
20
+ # required to fetch internal or private CodeQL packs
21
+ packages : read
22
+
23
+ # only required for workflows in private repositories
24
+ actions : read
25
+ contents : read
26
+
27
+ strategy :
28
+ fail-fast : false
29
+ matrix :
30
+ include :
31
+ - language : javascript-typescript
32
+ build-mode : none
33
+ steps :
34
+ - name : Checkout repository
35
+ uses : actions/checkout@v4
36
+
37
+ - name : Initialize CodeQL
38
+ uses : github/codeql-action/init@v3
39
+ with :
40
+ languages : ${{ matrix.language }}
41
+ build-mode : ${{ matrix.build-mode }}
42
+
43
+ - if : matrix.build-mode == 'manual'
44
+ shell : bash
45
+ run : |
46
+ echo 'If you are using a "manual" build mode for one or more of the' \
47
+ 'languages you are analyzing, replace this with the commands to build' \
48
+ 'your code, for example:'
49
+ echo ' make bootstrap'
50
+ echo ' make release'
51
+ exit 1
52
+
53
+ - name : Perform CodeQL Analysis
54
+ uses : github/codeql-action/analyze@v3
55
+ with :
56
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments