File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CodeQL
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+ schedule :
11
+ - cron : ' 30 14 * * 4'
12
+
13
+ jobs :
14
+ analyze :
15
+ name : Analyze
16
+ runs-on : ubuntu-latest
17
+ timeout-minutes : 360
18
+ permissions :
19
+ actions : read
20
+ contents : read
21
+ security-events : write
22
+
23
+ strategy :
24
+ fail-fast : false
25
+ matrix :
26
+ language :
27
+ - javascript-typescript
28
+ - actions
29
+
30
+ steps :
31
+ - name : Checkout repository
32
+ uses : actions/checkout@v4
33
+ with :
34
+ submodules : recursive
35
+
36
+ - name : Initialize CodeQL
37
+ uses : github/codeql-action/init@v3
38
+ with :
39
+ languages : ${{ matrix.language }}
40
+ config : |
41
+ paths-ignore:
42
+ - 'test-setup.ts'
43
+ - 'src/**/*.test.ts'
44
+ - 'src/**/*.spec.ts'
45
+ - 'src/**/*.test.tsx'
46
+ - 'src/**/*.spec.tsx'
47
+ - 'src/**/*.stories.tsx'
48
+
49
+ - name : Perform CodeQL Analysis
50
+ uses : github/codeql-action/analyze@v3
51
+ with :
52
+ category : ' /language:${{matrix.language}}'
You can’t perform that action at this time.
0 commit comments