Pin GitHub Actions to full-length commit SHAs - #5353
Merged
Timothee Guerin (timotheeguerin) merged 1 commit intoAug 31, 2026
Conversation
Contributor
|
No changes needing a change description found. |
Contributor
Go emitter diffBaseline No changes to generated output. Rendered diff: inline on the run summary, or the emitter-diff-go-html artifact. Informational check (core/eng/emitter-diff); does not block the PR. |
Contributor
📦 Package size report✅ No notable package size changes compared to the base branch. 13 package(s) with no notable change
Packed = gzipped |
Timothee Guerin (timotheeguerin)
marked this pull request as ready for review
August 31, 2026 16:29
Timothee Guerin (timotheeguerin)
requested review from
Mark Cowlishaw (markcowl) and
Jeff Fisher (xirzec)
as code owners
August 31, 2026 16:30
Timothee Guerin (timotheeguerin)
enabled auto-merge
August 31, 2026 16:30
Contributor
|
You can try these changes here
|
iscai-msft
approved these changes
Aug 31, 2026
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 third-party action in our workflows was referenced by a mutable tag (
actions/checkout@v7). Tags can be retargeted, so a compromised upstream repo silently gets write access to our CI — exactly what happened in the tj-actions/changed-files and codfish/semantic-release-action compromises.Every action is now pinned to a full-length commit SHA, with the version kept as a comment so it stays readable and Dependabot can keep bumping it:
Dependabot also gets a 7 day cooldown on the
github-actionsecosystem, giving the community a window to spot a compromised release before we auto-adopt it.The SHAs resolve to the same commits the tags pointed at, so there is no behavioral change. Generated
*.lock.ymlagentic workflows are untouched —gh-awalready emits pinned SHAs there.Redo of #5341, which went stale with conflicts. See https://aka.ms/action-pinning.