File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-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
+
9
+ jobs :
10
+ analyze :
11
+ name : Analyze (${{ matrix.language }})
12
+ runs-on : ' ubuntu-latest'
13
+ timeout-minutes : 360
14
+ permissions :
15
+ # required for all workflows
16
+ security-events : write
17
+
18
+ # required to fetch internal or private CodeQL packs
19
+ packages : read
20
+
21
+ # only required for workflows in private repositories
22
+ actions : read
23
+ contents : read
24
+
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ include :
29
+ - language : javascript-typescript
30
+ build-mode : none
31
+ steps :
32
+ - name : Checkout repository
33
+ uses : actions/checkout@v4
34
+
35
+ # Initializes the CodeQL tools for scanning.
36
+ - name : Initialize CodeQL
37
+ uses : github/codeql-action/init@v3
38
+ with :
39
+ languages : ${{ matrix.language }}
40
+ build-mode : ${{ matrix.build-mode }}
41
+ source-root : " ./src"
42
+
43
+ - name : Perform CodeQL Analysis
44
+ uses : github/codeql-action/analyze@v3
45
+ with :
46
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments