Skip to content

ci: annotate pinned checkout versions exactly - #35

Merged
Maxerns merged 1 commit into
getsotto:mainfrom
Rayan-and-beyond:ci/exact-checkout-pin-comments-34
Sep 13, 2026
Merged

Maxerns merged 1 commit into
getsotto:mainfrom
Rayan-and-beyond:ci/exact-checkout-pin-comments-34

Conversation

@Rayan-and-beyond

Copy link
Copy Markdown
Contributor

Summary

  • annotate all pinned actions/checkout SHAs as v4.4.0 without changing the immutable SHA
  • add a dependency-free CI guard requiring exact semver comments beside full-SHA action pins

Validation

  • verified actions/checkout tag v4.4.0 resolves to 11d5960a326750d5838078e36cf38b85af677262
  • guard passes on the updated tree
  • mutation check: changing one annotation back to # v4 is rejected
  • git diff --check

Fixes #34

Signed-off-by: Rayan-and-beyond <263488867+Rayan-and-beyond@users.noreply.github.com>

@Maxerns Maxerns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Rayan-and-beyond this closes #34 correctly.

I verified the following:

  • All 7 actions/checkout pins now carry the exact # v4.4.0 comment.
  • The pinned SHAs themselves are unchanged.
  • Upstream verification confirms that v4.4.0 resolves to the pinned SHA.
  • The new guard job is appropriately scoped.
  • It passes against the current tree.
  • It correctly ignores the README’s non-semver comments.
  • It rejects a reverted # v4 comment with a clear error.
  • The commit is signed off.

Once CI runs green on the branch, ill merge.

@Maxerns
Maxerns merged commit 6ad41b3 into getsotto:main Sep 13, 2026
31 checks passed
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.

CI: annotate pinned checkout SHAs with exact release versions

2 participants