Pin infra reusable workflows to immutable SHA and add pull_request_target fork guards#5953
Pin infra reusable workflows to immutable SHA and add pull_request_target fork guards#5953Copilot wants to merge 1 commit into
Conversation
❌ Deploy Preview for kubestellar-docs failed. Why did it fail? →
|
|
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. |
|
[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 |
|
Hi @Copilot. Thanks for your PR. I'm waiting for a kubestellar member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
📌 Fixes
Issue linking is handled automatically by the system.
📝 Summary of Changes
This PR replaces mutable
kubestellar/infrareusable workflow refs with an immutable commit SHA and hardenspull_request_targetexecution paths against fork-originated PRs.Scope is limited to workflow security and reference integrity in
.github/workflows.uses:references from@mainto:@a160acca0bdce1ac6c649e006d680d5f6d53024e # maincopilot-automationjob.ai-fixjob sopull_request_targetonly runs for same-repo PRs.permissionsincopilot-dco.ymlto satisfy workflow security policy (contents: read,pull-requests: write).Changes Made
kubestellar/infrareusable workflow refs to immutable SHA pins.pull_request_targethandling incopilot-automation.ymlandai-fix.yml.copilot-dco.ymlto align with workflow security scanning.Checklist
Please ensure the following before submitting your PR:
Security Considerations
If this PR modifies any security-sensitive files, confirm:
Leave unchecked if not applicable. See CONTRIBUTING.md for details.
Screenshots or Logs (if applicable)
N/A (workflow YAML-only changes).
👀 Reviewer Notes
# mainfor traceability while enforcing immutable refs.Original prompt