File tree 1 file changed +51
-0
lines changed
1 file changed +51
-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 : " 0 0 * * 1"
10
+
11
+ permissions :
12
+ contents : read
13
+
14
+ jobs :
15
+ analyze :
16
+ name : Analyze
17
+ runs-on : ubuntu-latest
18
+ permissions :
19
+ actions : read
20
+ contents : read
21
+ security-events : write
22
+
23
+ strategy :
24
+ fail-fast : false
25
+ matrix :
26
+ language : ["typescript"]
27
+
28
+ steps :
29
+ - name : Checkout code
30
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
31
+
32
+ # Initializes the CodeQL tools for scanning.
33
+ - name : Initialize CodeQL
34
+ uses : github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
35
+ with :
36
+ languages : ${{ matrix.language }}
37
+
38
+ - name : Setup NodeJS
39
+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
40
+ with :
41
+ node-version : ${{ matrix.version }}
42
+ cache : " npm"
43
+ - name : Setup dependencies
44
+ uses : ./.github/actions/cached-node-modules
45
+ with :
46
+ nodeVersion : 20
47
+
48
+ - name : Perform CodeQL Analysis
49
+ uses : github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
50
+ with :
51
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments