From 4c7e24c3e13568421315a234b4dd1b6f3c376745 Mon Sep 17 00:00:00 2001 From: Debashish Ghosal Date: Sat, 7 Nov 2026 12:59:07 -0800 Subject: [PATCH] ci(scorecard): pin the v2.5.0 commit, not the tag object The publish API verifies the pinned SHA belongs to ossf/scorecard-action. A tag-object SHA is rejected as an 'imposter commit', so results never published and the badge 404'd. v2.4.0 also pulled from gcr.io, whose billing was disabled upstream. Pin fa7117db (v2.5.0, ghcr.io). Signed-off-by: Debashish Ghosal --- .github/workflows/scorecard.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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