Skip to content

Fix issues with GitHub Actions lockfile - #4980

Merged
divergentdave merged 2 commits into
mainfrom
david/pin-github-actions
Nov 16, 2026
Merged

divergentdave merged 2 commits into
mainfrom
david/pin-github-actions

Conversation

@divergentdave

Copy link
Copy Markdown
Collaborator

Two of the actions we use have special branches that replace an otherwise-required configuration option. These are not compatible with the GitHub Actions lock file. (#4977) In the case of dtolnay/rust-toolchain, the stable and nightly branches get their history rewritten regularly, so the commit in our lock file is no longer present, and CI breaks. The documentation says, "A commit that exists only in a fork, or that's no longer reachable from that branch or tag, is rejected when the workflow runs." This PR rewrites our uses of these actions to use a regular branch or tag, which will remain valid after the next action update, and regenerates the lock file.

@divergentdave
divergentdave merged commit 0254649 into main Nov 16, 2026
9 checks passed
@divergentdave
divergentdave deleted the david/pin-github-actions branch November 16, 2026 17:15
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.

2 participants