File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CodeQL
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ pull_request :
7
+ branches : [main]
8
+ paths :
9
+ - " .github/workflows/codeql-analysis.yml"
10
+
11
+ push :
12
+ branches : [main]
13
+ paths :
14
+ - " .github/workflows/codeql-analysis.yml"
15
+ - " src/**"
16
+ - " test/**"
17
+
18
+ concurrency :
19
+ group : ${{ github.workflow }}-${{ github.head_ref || github.sha }}
20
+ cancel-in-progress : true
21
+
22
+ jobs :
23
+ analyze :
24
+ strategy :
25
+ fail-fast : false
26
+ matrix :
27
+ language : ["javascript"]
28
+
29
+ permissions :
30
+ security-events : write
31
+
32
+ runs-on : ubuntu-22.04
33
+
34
+ steps :
35
+ - name : Checkout Repository
36
+ uses : actions/checkout@v4
37
+ with :
38
+ lfs : true
39
+
40
+ - name : Initialize CodeQL
41
+ uses : github/codeql-action/init@v3
42
+ with :
43
+ languages : ${{ matrix.language }}
44
+
45
+ - name : Autobuild
46
+ uses : github/codeql-action/autobuild@v3
47
+
48
+ - name : Perform CodeQL Analysis
49
+ uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments