Repository navigation
Pin every action to a full commit SHA - #25
Merged
Merged
Conversation
Every action in build.yml and release.yml was referenced by a tag its owner can move, which is how the tj-actions/changed-files compromise (March 2025) spread. Each is now pinned to a commit, with its version in a comment. The versions are the newest releases at least 14 days old, the same set the other Diridium plugins pin (proven first in diridium-com/oie-ssh-tunnel-manager#19): - actions/checkout v7.0.1 (2026-07-20), was v4 - actions/setup-java v6.0.1 (2026-09-09), was v4 - actions/cache v6.1.0 (2026-06-26), was v4 - softprops/action-gh-release v2.6.2 (2026-04-12), was v2. It stays on v2 because the next change to release.yml removes it. The v4 actions run on Node 20, which GitHub has deprecated. Every run warned that they were being forced onto Node 24 and that setup-java v4 gets no more updates. The new versions run on Node 24. Checked: each SHA is the commit its tag points to, and both workflows parse. release.yml runs only on a tag, so its new pins first run when the release workflow is next tested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
build.ymlandrelease.ymlwas referenced by a tag its owner can move, which is how the tj-actions/changed-files compromise (March 2025) spread. Each is now pinned to a commit, with its version in a comment.The versions are the newest releases at least 14 days old, the same set the other Diridium plugins pin, proven first in diridium-com/oie-ssh-tunnel-manager#19:
actions/checkoutv43d3c42e5aac5ba805825da76410c181273ba90b1actions/setup-javav4de7274f081f381c8f8158605e0321c36c376e2e6actions/cachev455cc8345863c7cc4c66a329aec7e433d2d1c52a9softprops/action-gh-releasev23bb12739c298aeb8a4eeaf626c5b8d85266b0e65softprops/action-gh-releasestays on v2 because the next change torelease.ymlremoves it.The v4 actions run on Node 20, which GitHub has deprecated. Every run warned that they were being forced onto Node 24 and that setup-java v4 gets no more updates. The new versions run on Node 24.
Checked: each SHA is the commit its tag points to (
gh api repos/<action>/commits/<tag>), and both workflows parse.build.ymlruns on this PR.release.ymlruns only on a tag, so its new pins first run when the release workflow is next tested.Co-authored with Claude Code.