Skip to content

ci: add mark-ready-when-ready workflow#428

Merged
jmeridth merged 1 commit intomainfrom
add-mark-ready-when-ready
Mar 13, 2026
Merged

ci: add mark-ready-when-ready workflow#428
jmeridth merged 1 commit intomainfrom
add-mark-ready-when-ready

Conversation

@zkoppert
Copy link
Collaborator

Summary

Adds the mark-ready-when-ready GitHub Action workflow.

When a draft PR has the Mark Ready When Ready label applied, this workflow:

  1. Watches for all required checks to pass (two rounds with a pause between)
  2. Verifies results via GraphQL API
  3. Confirms no merge conflicts
  4. Marks the PR as ready for review and removes the label

Changes

  • Adds .github/workflows/mark-ready-when-ready.yml
  • Label Mark Ready When Ready has been created in this repo

Notes

  • Action pinned to SHA 33b13c5 (includes contents: write permission fix)
  • Requires contents: write permission for GITHUB_TOKEN to call markPullRequestReadyForReview

Automatically marks draft PRs as ready for review once all required
checks pass when the 'Mark Ready When Ready' label is applied.

Uses kenyonj/mark-ready-when-ready action with the contents:write
permission fix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@zkoppert zkoppert marked this pull request as ready for review March 13, 2026 21:38
@zkoppert zkoppert requested a review from jmeridth as a code owner March 13, 2026 21:38
Copilot AI review requested due to automatic review settings March 13, 2026 21:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow to automatically mark draft PRs as “ready for review” once required checks have passed, gated by the Mark Ready When Ready label.

Changes:

  • Introduces a new workflow that runs on PR events, waits for checks to pass, verifies via GraphQL, checks for conflicts, then marks the PR ready and removes the label.

You can also share your feedback on Copilot code review. Take the survey.

name: Mark PR Ready When Ready

on:
pull_request:
@jmeridth jmeridth merged commit 782e22b into main Mar 13, 2026
40 checks passed
@jmeridth jmeridth deleted the add-mark-ready-when-ready branch March 13, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants