Skip to content

Single-reviewer approval gate and clearer awaiting-review status - #4639

Merged
aaronpowell merged 1 commit into
mainfrom
aaronpowell-single-reviewer-gates
Oct 9, 2026
Merged

aaronpowell merged 1 commit into
mainfrom
aaronpowell-single-reviewer-gates

Conversation

@aaronpowell

Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the main branch for this pull request.

Description

Only one maintainer reviews, so the two-approval requirement is dropped and the gate result is made clearer when a PR is just waiting on review.

  • merge-risk:high now needs 1 approval from a core maintainer (or an admin/maintain user while the core pool is empty), down from 2. Low and medium already needed 1.
  • The submission-gate check now concludes action_required instead of failure when the only blocker is a missing approval. It still blocks merging as a required check, but reads as "waiting for a reviewer" rather than a broken workflow. Failed checks, infrastructure failures, pending checks and requested changes still report failure. Implemented via a new gateConclusion() in eng/submission-gate.mjs.
  • Docs (docs/maintainers/submission-gate.md) and tests updated.

Validation: node --test eng/submission-gate.test.mjs passed (48/48). npm run build was not run.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • New canvas extension.
  • Update to existing instruction, prompt, agent, plugin, skill, workflow, or canvas extension.
  • Other (please specify): Submission gate approval policy and check reporting.

Additional Notes

The Submission Gate workflow run itself is unchanged; only the published submission-gate check conclusion differs.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

…iew as action_required

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f280c771-d797-4eb1-a96f-ada49c076e86
@aaronpowell
aaronpowell requested a review from a team as a code owner October 8, 2026 05:33
Copilot AI balanced review requested due to automatic review settings October 8, 2026 05:33
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

🚦 Submission status: 👀 Ready for review

Risk tier: merge-risk:high — Privileged execution, automation, or review-policy change
Required to merge: passing submission-gate checks plus 2 approvals from reviewers with write access, including a maintainer with admin or maintain permission.

Why this tier
  • .github/risk-tiers.yml is a high-risk path (automation, scripts, MCP config, hooks, or review policy)
  • eng/submission-gate.mjs is a high-risk path (automation, scripts, MCP config, hooks, or review policy)
  • eng/submission-gate.test.mjs is a high-risk path (automation, scripts, MCP config, hooks, or review policy)

Automated checks

Check Status Details
Line endings ✅ Passed Passed · logs
Spelling ✅ Passed Passed · logs
Generated README consistency ✅ Passed Passed · logs
Submission gate tests ✅ Passed Passed · logs
Contributor reputation ✅ Passed Passed · logs
Duplicate resource scan ✅ Passed Passed · logs
PR quality signal ✅ Passed Passed · logs

Review

  • Approvals: 0/2
  • Assigned reviewer: not assigned yet — comment /request-review to ask for one
  • Review target date: not set
  • Still needed: 2 more approval(s); an approval from a maintainer with admin or maintain permission
  • The core-maintainers pool is not staffed yet; an approver with admin or maintain permission is required instead.

Commands

Command Who What it does
/rerun-checks PR author, maintainers Re-runs failed or incomplete checks and re-evaluates this gate
/request-review PR author, maintainers Asks the review rotation to assign a reviewer (adds needs-reviewer)

Updated for e81cc6e · gate run · This comment is maintained automatically — see submission gate docs.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

🟡 Contributor Reputation Check: MEDIUM risk

Check Risk
Profile MEDIUM
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk ready-for-review Submission passed intake validation and is ready for maintainer review and removed awaiting-automation labels Oct 8, 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.

🔵 Needs a closer look

It weakens a security-sensitive review policy and therefore requires explicit maintainer review.

1 open finding
What changed in this PR

This PR reduces high-risk approval requirements and distinguishes review-waiting states from automation failures.

Changes:

  • Requires one core-maintainer approval for high-risk PRs.
  • Publishes action_required when only approval is missing.
  • Updates tests and maintainer documentation.
File Description
.github/​risk-tiers.yml Reduces high-risk approvals to one.
eng/​submission-gate.mjs Adds conclusion-selection logic.
eng/​submission-gate.test.mjs Tests approval and conclusion behavior.
docs/​maintainers/​submission-gate.md Documents the revised policy.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread eng/submission-gate.mjs
const fields = pending
? { status: "in_progress", output }
: { status: "completed", conclusion: evaluation.passed ? "success" : "failure", completed_at: new Date().toISOString(), output };
: { status: "completed", conclusion: gateConclusion(evaluation), completed_at: new Date().toISOString(), output };
@aaronpowell
aaronpowell merged commit f94871f into main Oct 9, 2026
33 of 35 checks passed
@aaronpowell
aaronpowell deleted the aaronpowell-single-reviewer-gates branch October 9, 2026 00:44

This branch was successfully deployed

1 active deployment
github-pages — e81cc6e8 Deployed Oct 8, 2026 by aaronpowell via deploy #715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk:high needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk ready-for-review Submission passed intake validation and is ready for maintainer review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants