Skip to content

Commit 164c123

Browse files
docdyhrclaude
andauthored
fix(ci): use commit SHA for ossf/scorecard-action, not tag-object SHA (#156)
The Scorecard publish API verifies that the workflow SHA belongs to a commit in ossf/scorecard-action. The tag v2.4.3 is annotated, so its tag-object SHA (99c09fe) is different from the commit SHA it points to (4eaacf05). Using the tag-object SHA caused: "imposter commit does not belong to ossf/scorecard-action". Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c650d0f commit 164c123

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Run analysis
28-
uses: ossf/scorecard-action@99c09fe975337306107572b4fdf4db224cf8e2f2 # v2.4.3
28+
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
2929
with:
3030
results_file: results.sarif
3131
results_format: sarif

0 commit comments

Comments
 (0)