Skip to content

chore: update actions/checkout to v7 and auto-maintain README SHA#13

Merged
locus313 merged 1 commit into
mainfrom
locus313/update-checkout-action-version
Jun 21, 2026
Merged

chore: update actions/checkout to v7 and auto-maintain README SHA#13
locus313 merged 1 commit into
mainfrom
locus313/update-checkout-action-version

Conversation

@locus313

Copy link
Copy Markdown
Owner

Summary

Updates all actions/checkout references in README and adds automation to keep them current.

Changes

README

  • Updated all actions/checkout references from @v4 to @9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
  • Replaced ref: main in the GitHub Actions usage example with the current pinned commit SHA (avoids suggesting mutable refs in examples)
  • Updated the accompanying note to recommend SHA pinning over tag pinning (since this repo doesn't publish releases)

New workflow: .github/workflows/update-readme-sha.yml

  • Triggers on every push to main (excluding docs-only pushes to prevent loops)
  • Automatically replaces the 40-char hex SHA in the ref: line with the new commit SHA
  • Only commits back if the SHA actually changed

- Update all actions/checkout references in README from v4 to v7.0.0
  pinned to commit SHA 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- Replace mutable 'ref: main' in usage example with pinned commit SHA
- Add workflow to auto-update pinned SHA in README on every push to main
- Update CHANGELOG

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@locus313 locus313 merged commit c75ec45 into main Jun 21, 2026
1 check passed
@locus313 locus313 deleted the locus313/update-checkout-action-version branch June 21, 2026 20:47
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