Skip to content

[docs] Harden OB1 PR Gate: add ready_for_review trigger + branch protection instructions#1

Merged
Humestone merged 1 commit into
mainfrom
ci/document-pr-gate-blocking
Jun 10, 2026
Merged

[docs] Harden OB1 PR Gate: add ready_for_review trigger + branch protection instructions#1
Humestone merged 1 commit into
mainfrom
ci/document-pr-gate-blocking

Conversation

@Humestone

Copy link
Copy Markdown
Owner

What

Two small improvements to .github/workflows/ob1-gate.yml:

1. Add ready_for_review event type

Draft PRs that transition to ready for review now re-trigger the gate. Previously only opened, synchronize, and reopened were covered, so a draft PR could skip the gate when marked ready.

2. Step-by-step branch protection instructions

Replaces the vague recommendation comment with exact steps referencing the job name (OB1 Review) that must be added as a required status check.

Current blocking evidence

The gate already blocks merge on failure:

  • ob1-gate.yml line 603: sets failed=true when any of the 15 checks fail
  • ob1-gate.yml lines 667-671: exits with code 1 when failed == true

To guarantee merge blocking, the admin must mark OB1 Review as a required status check in branch protection settings.

Admin action needed

If not already done, enable branch protection on main and add OB1 Review as a required status check (see the step-by-step in the updated comment).

…tection instructions

- Add ready_for_review to the pull_request event types so draft PRs
  re-run the gate when marked ready (previously only opened/synchronize/
  reopened were covered)
- Replace vague recommendation comment with step-by-step branch
  protection setup instructions, referencing the exact job name
  ('OB1 Review') that must be added as a required status check

The gate already blocks merge on failure: line 671 exits with code 1
when any of the 15 review checks fail. This change ensures the
workflow also runs when a draft PR transitions to ready-for-review,
closing a coverage gap.
@github-actions

Copy link
Copy Markdown

Hey @Humestone — welcome to Open Brain Source! 👋

Thanks for submitting your first PR. The automated review will run shortly and check things like metadata, folder structure, and README completeness. If anything needs fixing, the review comment will tell you exactly what.

Once the automated checks pass, a human admin will review for quality and clarity. Expect a response within a few days.

If you have questions, check out CONTRIBUTING.md or open an issue.

@Humestone Humestone merged commit ad5d6ee into main Jun 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants