Repository navigation
Surface and approve pending PR workflows 🤖🤖🤖 - #6314
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🚦 Submission status: 👀 Ready for reviewRisk tier: Why this tier
Automated checks
Review
Commands
Updated for |
|
🟡 Contributor Reputation Check: MEDIUM risk
Maintainers: please review this contributor before merging. |
There was a problem hiding this comment.
🟡 Changes recommended
Automatic approval can authorize another PR’s merge-context workflow when an empty pull_requests list bypasses PR-number and base-branch checks.
2 open issues
What changed in this PR
Extends the Open PR Board’s workflow approval support to public same-repository PRs, including bot-created PRs, alongside public forks.
Changes:
- Surfaces eligible waiting workflows on cards and in Checks, excluding runs with existing jobs.
- Adds workflow authorization to individual and bulk Approve + auto-merge, with freshness checks and partial-result recording.
- Updates execution warnings, documentation, and regression coverage.
| File | Description |
|---|---|
eng/open-pr-board-workflow-approval.test.mjs |
Covers same-repository discovery, combined approvals, stale state, and partial failures. |
eng/board-preview.test.mjs |
Checks execution disclosures and pending-workflow rendering. |
eng/board-bulk-actions.test.mjs |
Verifies bulk approval safety disclosures. |
.github/extensions/open-pr-board/README.md |
Documents eligibility, combined actions, and failure handling. |
.github/extensions/open-pr-board/public/index.html |
Explains workflow authorization in the action footer. |
.github/extensions/open-pr-board/public/app.js |
Updates confirmations and the Checks interface. |
.github/extensions/open-pr-board/lib/review-prompt.mjs |
Broadens review guidance beyond fork workflows. |
.github/extensions/open-pr-board/lib/github.mjs |
Adds jobs validation and workflow authorization during combined approval. |
.github/extensions/open-pr-board/lib/decisions.mjs |
Records workflow approvals separately from PR decisions. |
Review effort: Max (auto)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Regarding the contributor reputation check: thanks, noted. This is an automated maintainer-review advisory rather than an implementation request, so no code changes were needed for this comment. |
|
Regarding the submission-gate status update: thanks, noted. It reports the maintainer approval requirement and advisory checks for the then-current commit. This is status information rather than code feedback, so no implementation change was needed for this comment. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Noted. This contributor check is a maintainer-review advisory, not a code-change request. The latest fixes are now pushed as c1ba667; maintainers should use the current-head check result when assessing the PR. |
|
Noted. This gate status describes the prior commit and records the submission-gate and maintainer-approval requirements. The latest review fixes are now pushed as c1ba667; current-head checks should be used for the up-to-date status. |
|
This earlier acknowledgement already addresses the prior submission-gate status. The latest code-fix commit is now pushed, so the current-head submission-gate result is the relevant status. |
|
This earlier acknowledgement already addresses the contributor reputation advisory referenced here. The newer bot status is informational as well; maintainers should review the latest run for the current PR head. |
There was a problem hiding this comment.
🟡 Changes recommended
The allow-lists omit comment and NONE, incorrectly serializing feedback-only actions and known absent review decisions as UNKNOWN and losing meaningful state in the review prompt.
2 open issues
2 resolved since last review
Review effort: Max (auto)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Noted. This is a maintainer-review advisory rather than an implementation request. The latest fixes are pushed as faf72ac; maintainers should use the current-head result when assessing the PR. |
|
This duplicate acknowledgement already noted the contributor advisory. It is informational rather than a code request; maintainers should review the result for the current head faf72ac. |
|
This earlier acknowledgement addressed the contributor reputation advisory then present. The latest prompt fixes are now pushed; maintainers can assess the current-head checks. |
|
This earlier acknowledgement covered the submission-gate status for the prior commit. The latest prompt fixes are pushed as faf72ac; the current-head gate result is the applicable status. |
|
This earlier acknowledgement addressed the contributor advisory for the preceding run. The latest prompt fixes are pushed as faf72ac; please refer to checks for the current PR head. |
|
This duplicate acknowledgement already noted the earlier submission-gate status. No code change was requested by that status; the current-head result should be used after faf72ac. |
|
This earlier acknowledgement addressed the submission-gate status at that time. The prompt fixes are now pushed, so the current-head gate result is the relevant status. |
|
Noted. The status records the submission-gate and maintainer-approval requirements for the reported run. Prompt fixes are now pushed as faf72ac; please use the current-head checks for updated status. |
There was a problem hiding this comment.
🔵 Needs a closer look
Human assessment is needed because critical findings omitted from the published review identify a stale-head approval race and a failing regression test.
No open issues 🎉
2 resolved since last review
Review effort: Max (auto)


Pull Request Checklist
npm startand verified thatREADME.mdis up to date.mainbranch for this pull request.Description
Bot-created and other same-repository PRs can have workflows waiting for approval, but the Open PR Board previously only discovered approvals for public forks.
gh api.Type of Contribution
Additional Notes
npm start- passed; no generated README changes. The external catalog reported three existing non-SPDX license warnings.npm run plugin:validate- passed with the same license warnings.node --experimental-vm-modules --test --test-reporter=dot eng\open-pr-board-workflow-approval.test.mjs eng\open-pr-board.test.mjs eng\board-preview.test.mjs eng\board-bulk-actions.test.mjs eng\open-pr-board-prompt-security.test.mjs eng\board-periodic-refresh.test.mjs- passed.bash eng/fix-line-endings.sh- passed.By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.