Pin GitHub Actions to commit SHAs and update to latest releases - #835
Merged
Conversation
Every action is now referenced by commit SHA with the version in a trailing comment, so a retargeted tag cannot silently change what CI runs. Every action also moves to its latest stable release: actions/checkout v4 to v7.0.1, actions/setup-dotnet v4 to v6.0.0, github/codeql-action to v4.37.4, appleboy/ssh-action v1.2.2 to v1.2.5, appleboy/scp-action v0.1.7 to v1.0.0, docker/build-push-action v6 to v7.3.0, docker/setup-buildx-action v3 to v4.2.0, docker/login-action v3 to v4.6.0, docker/metadata-action v5 to v6.2.0, and pnpm/action-setup v4 to v6.0.9. The CodeQL steps had drifted apart on analyze@v2 and init@v3; both now sit on the same version. The docker and pnpm majors move their default runtime to Node 24, which the hosted ubuntu-latest runners already provide. None of the inputs or environment variables those releases dropped were in use here. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Jack-Edwards
force-pushed
the
chore/pin-actions
branch
from
July 31, 2026 19:50
e69c2c9 to
a2c89cd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every action in
.github/workflowsis now referenced by commit SHA, with the version in a trailing comment so the intent stays readable. Every action also moves to its latest stable release.actions/checkoutactions/setup-dotnetgithub/codeql-actionappleboy/ssh-actionappleboy/scp-actiondocker/build-push-actiondocker/setup-buildx-actiondocker/login-actiondocker/metadata-actionpnpm/action-setupThe CodeQL steps had drifted apart, running
init@v3alongsideanalyze@v2. Both are now on the same version.The Docker and pnpm majors move their default runtime to Node 24, which the hosted
ubuntu-latestrunners already provide. None of the inputs or environment variables those releases dropped were in use here.Deployment note:
appleboy/scp-actionv1.0.0 switched to a composite action, and this branch touchesdeploy-to-environment.yml, which cannot run on a pull request. Worth watching the first deploy after this merges.Closes #802, closes #819, closes #821, closes #822, closes #823.
🤖 Generated with Claude Code