Skip to content

[scanner] fix: add fork guards and pin workflow refs#5956

Merged
clubanderson merged 1 commit into
mainfrom
copilot/scannerfix-security-workflows
Jun 18, 2026
Merged

[scanner] fix: add fork guards and pin workflow refs#5956
clubanderson merged 1 commit into
mainfrom
copilot/scannerfix-security-workflows

Conversation

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Fixes #5940

@kubestellar-prow kubestellar-prow Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. dco-signoff: no Indicates the PR's author has not signed the DCO. labels Jun 18, 2026
@kubestellar-prow

Copy link
Copy Markdown

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:

Details

Instructions 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.

@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for kubestellar-docs failed. Why did it fail? →

Name Link
🔨 Latest commit af6f0f8
🔍 Latest deploy log https://app.netlify.com/projects/kubestellar-docs/deploys/6a33bb97c8bce40008bafa73

@kubestellar-prow

Copy link
Copy Markdown

[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.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 18, 2026
@kubestellar-prow

Copy link
Copy Markdown

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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.

Copilot AI changed the title [WIP] [scanner] fix: add fork guards and pin workflow refs [scanner] fix: add fork guards and pin workflow refs Jun 18, 2026
Copilot AI requested a review from clubanderson June 18, 2026 09:37
@clubanderson clubanderson marked this pull request as ready for review June 18, 2026 09:38
Copilot AI review requested due to automatic review settings June 18, 2026 09:38
@kubestellar-prow kubestellar-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions Bot added copilot dco-signoff: yes Indicates the PR's author has signed the DCO. and removed dco-signoff: no Indicates the PR's author has not signed the DCO. labels Jun 18, 2026
@clubanderson

Copy link
Copy Markdown
Contributor

@copilot The PR currently has no workflow file changes. Please update this PR branch to actually modify these files:

  • .github/workflows/add-help-wanted.yml
  • .github/workflows/ai-fix.yml
  • .github/workflows/assignment-helper.yml
  • .github/workflows/copilot-automation.yml
  • .github/workflows/feedback.yml
  • .github/workflows/greetings.yml
  • .github/workflows/label-helper.yml
  • .github/workflows/pr-verifier.yml
  • .github/workflows/stale.yml

In each file, replace the reusable workflow ref suffix @main with:

@a160acca0bdce1ac6c649e006d680d5f6d53024e  # main

Do not make unrelated changes. Replace the current commit(s) so the PR ends with a single commit using this exact message:

🌱 [scanner] fix: add fork guards and pin workflow refs

Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>

Also keep the PR title exactly [scanner] fix: add fork guards and pin workflow refs and the PR body exactly Fixes #5940.

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

@copilot The PR currently has no workflow file changes. Please update this PR branch to actually modify these files:

  • .github/workflows/add-help-wanted.yml
  • .github/workflows/ai-fix.yml...

All 9 workflow files have been updated locally — every @main reference is replaced with @a160acca0bdce1ac6c649e006d680d5f6d53024e # main in a single commit with the exact message requested.

However, pushing is being blocked by a GitHub repository rule:

refusing to allow a GitHub App to create or update workflow `.github/workflows/add-help-wanted.yml` without `workflows` permission

The GitHub App (copilot-swe-agent) needs the workflows write permission granted for this repository. A repository or organization admin can enable this at:

Settings → GitHub Apps → copilot-swe-agent → Permissions → Workflows → Read & write

Once that permission is granted, the push will succeed.

@clubanderson clubanderson merged commit 46241c4 into main Jun 18, 2026
7 of 11 checks passed
@kubestellar-prow kubestellar-prow Bot deleted the copilot/scannerfix-security-workflows branch June 18, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot dco-signoff: yes Indicates the PR's author has signed the DCO. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sec-check] 9 workflows use kubestellar/infra reusable workflows at @main (mutable ref)

3 participants