File tree 1 file changed +46
-0
lines changed
1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Scorecard supply-chain security
3
+ on :
4
+ schedule :
5
+ - cron : ' 15 23 * * 1'
6
+ push :
7
+ branches : [ "main" ]
8
+
9
+ permissions : read-all
10
+
11
+ jobs :
12
+ analysis :
13
+ name : Scorecard analysis
14
+ runs-on : ubuntu-22.04
15
+ permissions :
16
+ security-events : write
17
+ id-token : write
18
+
19
+ steps :
20
+ - name : Checkout
21
+ uses : >- # v4.1.1
22
+ actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
23
+ with :
24
+ persist-credentials : false
25
+
26
+ - name : Run analysis
27
+ uses : >- # v2.3.1
28
+ ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736
29
+ with :
30
+ results_file : results.sarif
31
+ results_format : sarif
32
+ publish_results : true
33
+
34
+ - name : Upload artifact
35
+ uses : >- # v4.0.0
36
+ actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
37
+ with :
38
+ name : SARIF file
39
+ path : results.sarif
40
+ retention-days : 5
41
+
42
+ - name : Upload to code-scanning
43
+ uses : >- # v3.22.11
44
+ github/codeql-action/upload-sarif@b374143c1149a9115d881581d29b8390bbcbb59c
45
+ with :
46
+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments