Skip to content

fix: use commit SHA instead of tag object SHA for actions#64

Merged
BKDDFS merged 1 commit intomainfrom
fix/correct-action-sha-hashes
Jan 30, 2026
Merged

fix: use commit SHA instead of tag object SHA for actions#64
BKDDFS merged 1 commit intomainfrom
fix/correct-action-sha-hashes

Conversation

@BKDDFS
Copy link
Copy Markdown
Owner

@BKDDFS BKDDFS commented Jan 30, 2026

Summary

Fixes incorrect SHA hashes used in PR #63. Some actions use annotated tags, requiring dereferencing to get the actual commit SHA.

Fixed

  • ossf/scorecard-action: 99c09fe...4eaacf0543bb3f2c246792bd56e8cdeffafb205a
  • github/codeql-action: 2b983b3...439137e1b50c27ba9e2f9befc93e43091b449c34
  • codecov/codecov-action: 0561704...671740ac38dd9b0130fbe1cec585b89eea48d3de

Why

Annotated tags have two SHAs:

  1. Tag object SHA (wrong - used in fix: pin GitHub Actions to full SHA hashes #63)
  2. Commit SHA (correct - this PR)

The scorecard-action was failing with "imposter commit" error because it validates the commit SHA, not the tag object SHA.

@sonarqubecloud
Copy link
Copy Markdown

@BKDDFS BKDDFS merged commit d3c9d13 into main Jan 30, 2026
9 checks passed
This was referenced Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant