File tree 1 file changed +19
-6
lines changed
1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
- name : " CodeQL"
1
+ name : CodeQL
2
2
3
3
on :
4
4
push :
9
9
schedule :
10
10
- cron : ' 0 13 * * 6'
11
11
12
+ permissions : {}
13
+
12
14
jobs :
13
15
analyze :
14
16
name : Analyze
15
17
runs-on : ubuntu-latest
18
+ permissions :
19
+ security-events : write
20
+ actions : read
16
21
17
22
steps :
23
+ - uses : step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
24
+ with :
25
+ disable-sudo : true
26
+ egress-policy : audit
27
+
18
28
- name : Checkout repository
19
- uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
29
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
30
+ with :
31
+ persist-credentials : false
20
32
21
33
- name : Initialize CodeQL
22
- uses : github/codeql-action/init@v2
34
+ uses : github/codeql-action/init@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
23
35
with :
24
- languages : ' javascript'
25
- config-file : ./. github/codeql/codeql-config.yml
36
+ languages : javascript-typescript
37
+ config-file : .github/codeql/codeql-config.yml
26
38
27
39
- name : Perform CodeQL Analysis
28
- uses : github/codeql-action/analyze@v2
40
+ uses : github/codeql-action/analyze@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
41
+
You can’t perform that action at this time.
0 commit comments