deps: update actions/attest-build-provenance digest to 7668571 #2171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scorecard Analysis | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
scorecard-analysis: | |
runs-on: ubuntu-latest | |
permissions: | |
# Needed for SARIF scanning upload. | |
security-events: write | |
# Needed for GitHub OIDC token if `publish_results` is true. | |
id-token: write | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- name: Run Analysis | |
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 | |
with: | |
results_file: ossf-results.sarif | |
results_format: sarif | |
publish_results: true | |
- name: Upload Code Scanning Results | |
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3 | |
with: | |
sarif_file: ossf-results.sarif |