File tree Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 17
17
- uses : actions/checkout@v4
18
18
with :
19
19
fetch-depth : 0
20
+ persist-credentials : false
21
+
20
22
- uses : actions/setup-dotnet@v4
21
23
with :
22
24
dotnet-version : ' 8.0.x'
Original file line number Diff line number Diff line change 30
30
with :
31
31
submodules : true
32
32
fetch-depth : 0
33
+ persist-credentials : false
33
34
34
35
- uses : actions/setup-dotnet@v4
35
36
with :
Original file line number Diff line number Diff line change 28
28
uses : actions/checkout@v4
29
29
with :
30
30
fetch-depth : 0
31
+ persist-credentials : false
31
32
32
33
- name : Initialize CodeQL
33
34
uses : github/codeql-action/init@v3
Original file line number Diff line number Diff line change 17
17
- uses : actions/checkout@v4
18
18
with :
19
19
submodules : true
20
+ persist-credentials : false
20
21
21
22
- name : Install CycloneDX
22
23
run : dotnet tool install --global CycloneDX
Original file line number Diff line number Diff line change 1
1
name : Scorecard supply-chain security
2
+
2
3
on :
3
4
# For Branch-Protection check. Only the default branch is supported. See
4
5
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection (disabled)
@@ -23,19 +24,19 @@ jobs:
23
24
24
25
steps :
25
26
- name : " Checkout code"
26
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27
+ uses : actions/checkout@v4
27
28
with :
28
29
persist-credentials : false
29
30
30
31
- name : " Run analysis"
31
- uses : ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
32
+ uses : ossf/scorecard-action@v2.4.0 # https://github.com/marketplace/actions/ossf-scorecard-action
32
33
with :
33
34
results_file : results.sarif
34
35
results_format : sarif
35
36
publish_results : true
36
37
37
38
- name : " Upload artifact"
38
- uses : actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20
39
+ uses : actions/upload-artifact@v4
39
40
with :
40
41
name : SARIF file
41
42
path : results.sarif
You can’t perform that action at this time.
0 commit comments