diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index ba6db65..5bef489 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -23,7 +23,10 @@ jobs: with: persist-credentials: false - name: Run analysis - uses: ossf/scorecard-action@v2.4.0 + # v2.5.0 commit (not the annotated tag object): the publish API verifies the + # pinned SHA belongs to ossf/scorecard-action, and a tag-object SHA is rejected + # as an "imposter commit". v2.5.0 also moved the image to ghcr.io. + uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e with: results_file: results.sarif results_format: sarif