Browse Source

Update scorecard.yml actions versions

pull/3365/head
Christoph Wille 1 year ago
parent
commit
9673a5a928
  1. 7
      .github/workflows/scorecard.yml

7
.github/workflows/scorecard.yml

@ -1,4 +1,5 @@
name: Scorecard supply-chain security name: Scorecard supply-chain security
on: on:
# For Branch-Protection check. Only the default branch is supported. See # For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection (disabled) # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection (disabled)
@ -23,19 +24,19 @@ jobs:
steps: steps:
- name: "Checkout code" - name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- name: "Run analysis" - name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 uses: ossf/scorecard-action@v2.4.0 # https://github.com/marketplace/actions/ossf-scorecard-action
with: with:
results_file: results.sarif results_file: results.sarif
results_format: sarif results_format: sarif
publish_results: true publish_results: true
- name: "Upload artifact" - name: "Upload artifact"
uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20 uses: actions/upload-artifact@v4
with: with:
name: SARIF file name: SARIF file
path: results.sarif path: results.sarif

Loading…
Cancel
Save