Pin action SHAs across all workflows and do not mark PR as draft in rebuild workflow - #1419
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s GitHub Actions workflows to use immutable (SHA-pinned) action references for supply-chain hardening, and adjusts the rebuild workflow behavior so it no longer marks PRs as draft.
Changes:
- Pin
actions/checkout,actions/setup-node, andgithub/codeql-actionusages to specific commit SHAs (with version comments) instead of floating major tags. - Remove the
gh pr ready --undostep inrebuild.ymlso rebuild automation no longer changes PR draft/ready state. - Minor workflow formatting consistency updates (e.g., YAML quoting/spacing).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/rebuild.yml | Updates pinned actions/checkout SHA/version and removes the command that would revert PRs to draft after rebuilding. |
| .github/workflows/pr-checks.yml | Replaces floating action tags with SHA-pinned references (checkout/setup-node/codeql init). |
| .github/workflows/codeql-analysis.yml | Pins checkout and CodeQL init/analyze actions to specific SHAs. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 3/3 changed files
- Comments generated: 0
mbg
enabled auto-merge
June 22, 2026 09:42
henrymercer
reviewed
Jun 22, 2026
henrymercer
left a comment
Contributor
There was a problem hiding this comment.
Thanks, just one comment.
Co-authored-by: Henry Mercer <henry@henrymercer.name>
henrymercer
approved these changes
Jun 22, 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.
Marking the PR as "draft" in the
rebuildworkflow is not necessary, because we can now use the "Approve workflow runs" feature in the UI to approve workflow runs for a CI-generated commit.