chore: upgrade actions to Node 24 runtime (SHA-pinned) - #394
chore: upgrade actions to Node 24 runtime (SHA-pinned)#394John C. Bland II (johncblandii) wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Thank you for submitting this PR! If you haven't already joined our slack community, then we invite you to do so.
We receive an overwhelming number of contributions. By joining our slack, we'll be able to review your PR faster.
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions workflow dependencies to Node 24-compatible releases by replacing floating version tags with SHA-pinned action references annotated with their corresponding upstream versions, aligning with the repository’s supply-chain hardening approach.
Changes:
- Replace
actions/checkout@v4with a SHA-pinned ref (# v7.0.1) across workflows. - Replace Docker-related actions (
setup-buildx,login,build-push) with SHA-pinned refs and version comments. - Replace
stefanzweifel/git-auto-commit-action@v5with a SHA-pinned ref (# v7.2.0) in the VHS workflow.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/vhs.yaml | Pins checkout, buildx, and auto-commit actions to SHA refs with version comments. |
| .github/workflows/validate-codeowners.yml | Pins checkout action to a SHA ref with a version comment. |
| .github/workflows/lint.yml | Pins checkout action to a SHA ref with a version comment in both jobs. |
| .github/workflows/docker.yml | Pins checkout and Docker build/login/buildx actions to SHA refs with version comments. |
| .github/workflows/chatops.yml | Pins checkout action to a SHA ref with a version comment in both jobs. |
| .github/workflows/auto-readme.yml | Pins checkout action to a SHA ref with a version comment. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
CI triage for this PRsuperlinter / "--> Linted: GITHUB_ACTIONS" — surfaced by this PR, fixed in 8a5416d. super-linter runs with validate-codeowners — pre-existing, fixed in 164eab5. Failed with auto-readme — pre-existing, needs a maintainer. Fails at readme — pre-existing, needs a maintainer. |
what
SHA-pinned with precise version comments:
actions/checkout@v4→@3d3c42e5...# v7.0.1docker/build-push-action@v5→@53b7df96...# v7.3.0docker/login-action@v3→@dbcb8138...# v4.6.0docker/setup-buildx-action@v3→@bb05f3f5...# v4.2.0stefanzweifel/git-auto-commit-action@v5→@4a55954c...# v7.2.0why
are already being force-migrated to Node 24
matching the org's direction in chore: upgrade actions to Node 24 runtime and enforce SHA pinning .github#261
references
still on Node 20
charmbracelet/vhs-action@v1— no Node 24 release exists yetcloudposse/actions/github/auto-assign@0.30.0andcloudposse/actions/github/slash-command-dispatch@0.33.0— legacy monorepo actions with noNode 24 release
actions/labeler@v2.1.0— ancient major not covered by this mechanical pass; upgrading to v7requires migrating the labeler config format, so it deserves its own PR
actions/first-interaction@v1— no Node 24 release covered by this passgithub/super-linter/slim@v5— Docker-based action, not affected by the Node runtimedeprecation
mszostok/codeowners-validator@v0.7.1— Docker-based action, not affectedcloudposse/.github/.github/workflows/shared-auto-release.yml@main— reusable workflow ref,intentionally left on
@main