Skip to content

Pin GitHub Actions to commit SHAs and update to latest releases - #835

Merged
Jack-Edwards merged 1 commit into
stablefrom
chore/pin-actions
Jul 31, 2026
Merged

Pin GitHub Actions to commit SHAs and update to latest releases#835
Jack-Edwards merged 1 commit into
stablefrom
chore/pin-actions

Conversation

@Jack-Edwards

@Jack-Edwards Jack-Edwards commented Jul 31, 2026

Copy link
Copy Markdown
Member

Every action in .github/workflows is 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.

Action From To
actions/checkout v4 v7.0.1
actions/setup-dotnet v4 v6.0.0
github/codeql-action init@v3, analyze@v2 v4.37.4
appleboy/ssh-action v1.2.2 v1.2.5
appleboy/scp-action v0.1.7 v1.0.0
docker/build-push-action v6 v7.3.0
docker/setup-buildx-action v3 v4.2.0
docker/login-action v3 v4.6.0
docker/metadata-action v5 v6.2.0
pnpm/action-setup v4 v6.0.9

The CodeQL steps had drifted apart, running init@v3 alongside analyze@v2. Both are now 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.

Deployment note: appleboy/scp-action v1.0.0 switched to a composite action, and this branch touches deploy-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

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
Jack-Edwards merged commit 8608e75 into stable Jul 31, 2026
11 checks passed
@Jack-Edwards
Jack-Edwards deleted the chore/pin-actions branch July 31, 2026 21:37
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