🌱 Pin GitHub Actions to commit SHAs in scanner-merge-guardrails workflow#19164
🌱 Pin GitHub Actions to commit SHAs in scanner-merge-guardrails workflow#19164Copilot wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for kubestellarconsole canceled.
|
|
Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits. 📝 Please follow instructions in the contributing guide to update your commits with the DCO Full details of the Developer Certificate of Origin can be found at developercertificate.org. The list of commits missing DCO signoff:
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
👋 Hey @Copilot — thanks for opening this PR!
This is an automated message. |
Version tags on GitHub Actions can be silently moved to point at different commits, enabling supply chain attacks. Pinning to immutable commit SHAs closes that vector.
📌 Fixes
📝 Summary of Changes
actions/checkoutandactions/github-scriptto specific commit SHAs in.github/workflows/scanner-merge-guardrails.ymlChanges Made
actions/checkout@v6→actions/checkout@c85c95e3d7251135ab7dc9d055aaad139844c72e # v4.0.0actions/github-script@v9→actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1Checklist
Please ensure the following before submitting your PR:
git commit -s)Screenshots or Logs (if applicable)
N/A — workflow-only change, no runtime behavior altered.
👀 Reviewer Notes
This is a pure security hardening change. The SHAs correspond exactly to the tagged releases referenced in the comments (
v4.0.0andv7.0.1respectively). No functional behavior changes.Original prompt