Skip to content

Add individual reviewer gating and merge-gate status to review workflow#109

Merged
AdamGohs merged 1 commit into
mainfrom
enhancement/automated-review-workflow
Apr 11, 2026
Merged

Add individual reviewer gating and merge-gate status to review workflow#109
AdamGohs merged 1 commit into
mainfrom
enhancement/automated-review-workflow

Conversation

@AdamGohs
Copy link
Copy Markdown
Collaborator

Summary

  • Rewrite stage-progression.yml with per-individual reviewer gating: a hidden bot-managed state comment tracks who is assigned to each review stage, and approvals only advance the stage when the approver is in the assigned list — drive-by approvals are logged but don't trample the workflow
  • Introduce a review-workflow commit status managed by the bot as the merge gate (to be added to branch protection after this PR merges): pending during active reviews, success on stage:ready-to-merge, immediate success on lane:editorial-fix, success for non-docs PRs after CI passes
  • Intercept docs-touching PRs whose branches don't follow docs/* naming and route them through lane assignment; handle synchronize without resetting the stage; add admin:advance-to-director override label for Lane 1 PRs stuck at the technical edit stage
  • Filter deploy.yml by the same path allowlist as pr-preview.yml so merges to main that don't affect site output no longer redeploy; add concurrency blocks to stage-progression.yml and pr-preview.yml
  • Add a CI-passed "admin may merge" comment for non-docs PRs; update reviewer/director planning doc to use Comment (not Request changes) for revision-cycle feedback

…view workflow

- Rewrite stage-progression.yml with a hidden state comment that tracks
  which individuals are assigned to each review stage; approvals only
  advance the stage when the approver is in the assigned list for the
  current stage, so drive-by approvals are logged but don't trample
  the workflow
- Introduce a review-workflow commit status managed by the bot as the
  merge gate: pending during active reviews, success on stage:ready-to-merge,
  success immediately on lane:editorial-fix, and success for non-docs PRs
  after CI passes
- Handle synchronize events without resetting the stage — revisions
  during a review round are expected, so re-set the commit status on
  the new head SHA and ping the stage's assigned reviewers to backcheck
- Intercept docs-touching PRs whose branches don't follow docs/* naming
  and route them through lane assignment
- Add admin:advance-to-director override label for Lane 1 PRs at the
  technical edit stage
- Add a CI-passed "admin may merge" comment for non-docs PRs
- Filter deploy.yml by the same path allowlist as pr-preview.yml so
  merges to main that don't affect site output no longer redeploy
- Add concurrency blocks to stage-progression.yml and pr-preview.yml
- Update reviewer/director workflow planning doc to use Comment for
  revision-cycle feedback instead of Request changes
@AdamGohs AdamGohs requested a review from a team as a code owner April 11, 2026 18:25
@github-actions
Copy link
Copy Markdown

CI build passed for commit 10ebe77

This PR does not touch documentation content under docs/, so no multi-stage review is required.

@usace-rmc/docs-admin may merge.

@AdamGohs AdamGohs merged commit 4f3adb5 into main Apr 11, 2026
3 checks passed
@AdamGohs AdamGohs deleted the enhancement/automated-review-workflow branch April 11, 2026 18:29
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.

1 participant