Skip to content

Commit a0ffd58

Browse files
authored
Update scorecard.yml
Update action version numbers instead of hashes
1 parent d83d65f commit a0ffd58

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Scorecard supply-chain security
66
on:
77
branch_protection_rule:
88
schedule:
9-
- cron: '42 16 * * 5'
9+
- cron: '30 1 * * 7'
1010
push:
1111
branches: [ "main" ]
1212

@@ -24,27 +24,27 @@ jobs:
2424

2525
steps:
2626
- name: "Checkout code"
27-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27+
uses: actions/checkout@v4 # v4.1.1
2828
with:
2929
persist-credentials: false
3030

3131
- name: "Run analysis"
32-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
32+
uses: ossf/scorecard-action@v4.13.1
3333
with:
3434
results_file: results.sarif
3535
results_format: sarif
3636
publish_results: true
3737

3838
# Upload the results as artifacts (optional).
3939
- name: "Upload artifact"
40-
uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20
40+
uses: actions/upload-artifact@v3
4141
with:
4242
name: SARIF file
4343
path: results.sarif
4444
retention-days: 5
4545

4646
# Upload the results to GitHub's code scanning dashboard (optional).
4747
- name: "Upload to code-scanning"
48-
uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
48+
uses: github/codeql-action/upload-sarif@v2
4949
with:
5050
sarif_file: results.sarif

0 commit comments

Comments
 (0)