🌱 Sync workflows from kubestellar/infra#18391
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 |
|
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. |
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 Hey @clubanderson — thanks for opening this PR!
This is an automated message. |
|
🐝 Hi @clubanderson! I'm Trusted users — org members and contributors with write access — can mention Automation may take a moment to start, and follow-up happens through workflow activity rather than chat replies. |
There was a problem hiding this comment.
Pull request overview
This PR syncs several GitHub Actions “caller” workflows in this repo to invoke reusable workflows hosted in kubestellar/infra, updating permissions and invocation details to match upstream.
Changes:
- Updated multiple workflows to call
kubestellar/infrareusable workflows usinguses: ...@main. - Moved/scoped
permissionsblocks to workflow-level in several files. - Added
secrets: inheritfor several reusable-workflow calls.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 18 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/stale.yml | Updates caller permissions and switches reusable workflow reference to @main with secrets inheritance. |
| .github/workflows/scorecard.yml | Sets explicit workflow permissions and switches reusable workflow reference to @main with secrets inheritance. |
| .github/workflows/label-helper.yml | Moves permissions to workflow scope and switches reusable workflow reference to @main with secrets inheritance. |
| .github/workflows/greetings.yml | Adds contents: read, switches to @main, and inherits secrets for a pull_request_target caller. |
| .github/workflows/feedback.yml | Switches reusable workflow reference to @main and inherits secrets. |
| .github/workflows/copilot-dco.yml | Switches reusable workflow reference to @main and removes explicit permissions block. |
| .github/workflows/copilot-automation.yml | Expands workflow-level permissions and switches reusable workflow reference to @main for a pull_request_target caller. |
| .github/workflows/assignment-helper.yml | Switches reusable workflow reference to @main and adjusts permissions. |
| .github/workflows/ai-fix.yml | Consolidates to a single job calling @main and adjusts permissions for a pull_request_target caller. |
| .github/workflows/add-help-wanted.yml | Switches reusable workflow reference to @main with secrets inheritance and adjusts permissions. |
Comments suppressed due to low confidence (2)
.github/workflows/copilot-automation.yml:30
- This workflow runs on
pull_request_targetand performs privileged automation; it should not run unconditionally on forked PRs. Add the same fork guard used elsewhere (e.g.,.github/workflows/pr-verifier.yml:11) so the job only runs for PRs from this repository.
copilot-automation:
uses: kubestellar/infra/.github/workflows/reusable-copilot-automation.yml@main
with:
pr_number: ${{ github.event.inputs.pr_number || '' }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/ai-fix.yml:27
- This workflow runs on
pull_request_targetwith write permissions. It should not run unconditionally on forked PRs; add a fork guard so the job only runs when the PR head repo is the same as the base repo.
jobs:
ai-fix:
uses: kubestellar/infra/.github/workflows/reusable-ai-fix.yml@main
with:
issue_number: ${{ github.event.inputs.issue_number || '' }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
| greet: | ||
| if: ${{ github.event_name != 'pull_request_target' || github.event.pull_request.head.repo.full_name == github.repository }} | ||
| uses: kubestellar/infra/.github/workflows/reusable-greetings.yml@a160acca0bdce1ac6c649e006d680d5f6d53024e # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-greetings.yml@main | ||
| secrets: inherit |
| greet: | ||
| if: ${{ github.event_name != 'pull_request_target' || github.event.pull_request.head.repo.full_name == github.repository }} | ||
| uses: kubestellar/infra/.github/workflows/reusable-greetings.yml@a160acca0bdce1ac6c649e006d680d5f6d53024e # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-greetings.yml@main |
| if: ${{ github.event_name != 'pull_request_target' || github.event.pull_request.head.repo.full_name == github.repository }} | ||
| uses: kubestellar/infra/.github/workflows/reusable-greetings.yml@a160acca0bdce1ac6c649e006d680d5f6d53024e # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-greetings.yml@main | ||
| secrets: inherit |
| pull-requests: read | ||
| statuses: write | ||
| uses: kubestellar/infra/.github/workflows/reusable-copilot-automation.yml@af322d48cc67ade7345cabc6a0ed55c6c7040ee4 # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-copilot-automation.yml@main |
| issues: write | ||
| pull-requests: read | ||
| uses: kubestellar/infra/.github/workflows/reusable-ai-fix.yml@af322d48cc67ade7345cabc6a0ed55c6c7040ee4 # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-ai-fix.yml@main |
| jobs: | ||
| feedback: | ||
| uses: kubestellar/infra/.github/workflows/reusable-feedback.yml@af322d48cc67ade7345cabc6a0ed55c6c7040ee4 # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-feedback.yml@main |
| feedback: | ||
| uses: kubestellar/infra/.github/workflows/reusable-feedback.yml@af322d48cc67ade7345cabc6a0ed55c6c7040ee4 # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-feedback.yml@main | ||
| secrets: inherit |
| permissions: | ||
| issues: write | ||
| uses: kubestellar/infra/.github/workflows/reusable-assignment-helper.yml@af322d48cc67ade7345cabc6a0ed55c6c7040ee4 # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-assignment-helper.yml@main |
| permissions: | ||
| issues: write | ||
| uses: kubestellar/infra/.github/workflows/reusable-add-help-wanted.yml@af322d48cc67ade7345cabc6a0ed55c6c7040ee4 # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-add-help-wanted.yml@main |
| issues: write | ||
| uses: kubestellar/infra/.github/workflows/reusable-add-help-wanted.yml@af322d48cc67ade7345cabc6a0ed55c6c7040ee4 # main | ||
| uses: kubestellar/infra/.github/workflows/reusable-add-help-wanted.yml@main | ||
| secrets: inherit |
This PR syncs the caller workflows from
kubestellar/infra.These workflows call reusable workflows from
kubestellar/infra:Standard Workflows:
add-help-wanted.yml- Add help-wanted label to issuesassignment-helper.yml- Handle issue assignmentsfeedback.yml- Collect feedbackgreetings.yml- Welcome new contributorslabel-helper.yml- Manage labelspr-verifier.yml- Verify PR contentspr-verify-title.yml- Verify PR title formatscorecard.yml- Security scorecardstale.yml- Mark stale issues/PRsAgentic Workflows (Copilot Integration):
ai-fix.yml- Assign Copilot to issues withai-fix-requestedlabelcopilot-automation.yml- Automate Copilot PR processing (DCO, labels)copilot-dco.yml- Override DCO for Copilot PRsAuto-generated by workflow sync