Repository navigation
Float first-party actions on majors, pin third-party by release SHA - #11
Merged
Merged
Conversation
Aligns this package's GitHub Actions references with the org convention: float first-party actions on their major tag, pin third-party actions to a commit SHA, and keep both on the latest release. - First-party actions (`actions/*`, `github/*`) move off commit SHAs onto their current major tag. Every SHA replaced resolves to the tip of the major it now floats on, so the resolved commit is unchanged today and security patches arrive on their own from here. Pinning GitHub's own actions inside GitHub's own runner buys nothing and holds back patches. - Third-party actions stay pinned to a commit SHA, because a git tag is mutable and the action's owner can rewrite it. Each pin's comment now names the immutable release (`# 2.37.2`) rather than a mutable major tag (`# v2`) -- a comment naming a moving tag cannot tell you whether the pin is stale. 3 workflow file(s), 7 reference(s). Distinct transitions: - `actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9` -> `actions/cache@v6` - `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1` -> `actions/checkout@v7` - `shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240` -> `shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2`
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.
Aligns this package's GitHub Actions references with the org convention:
float first-party actions on their major tag, pin third-party actions to a
commit SHA, and keep both on the latest release.
actions/*,github/*) move off commit SHAs ontotheir current major tag. Every SHA replaced resolves to the tip of the major
it now floats on, so the resolved commit is unchanged today and security
patches arrive on their own from here. Pinning GitHub's own actions inside
GitHub's own runner buys nothing and holds back patches.
and the action's owner can rewrite it. Each pin's comment now names the
immutable release (
# 2.37.2) rather than a mutable major tag (# v2) --a comment naming a moving tag cannot tell you whether the pin is stale.
3 workflow file(s), 7 reference(s). Distinct transitions:
actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9->actions/cache@v6actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1->actions/checkout@v7shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240->shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2