Repository navigation
refactor(pr): read the readiness checks with gh pr checks - #7519
Merged
Merged
Conversation
The merge-readiness verdict of pr ready, check-readiness and pr monitor reads the checks with `gh pr checks --json`. When the head reports no check, the rules of the base branch decide whether it waits. Delete the REST check and status reads, the copy of the workflow trigger filters (workflow_triggers.py) and the wcmatch dependency.
dan-petty
marked this pull request as ready for review
November 28, 2026 02:17
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 28, 2026
🤖 I have created a release *beep* *boop* --- ## [0.232.2](v0.232.1...v0.232.2) (2026-11-28) ### Code Refactoring * **pr:** read the readiness checks with gh pr checks ([#7519](#7519)) ([14d401a](14d401a)), closes [#7508](#7508) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The merge-readiness verdict of
devops pr ready,check-readinessandpr monitornow reads the checks withgh pr checks --json. gh reads the check runs and the commit statuses, keeps the newest run of each check and gives the bucket. When gh answersno checks reported, the rules of the base branch decide: a required check keeps the wait, and no required check gives the no-CI advisory.This deletes the REST check and status reads,
workflow_triggers.py(a copy of the GitHubon.pull_requestfilters),pull_request_workflow_at, the REST fallback ofdevops pr checksand thewcmatchdependency. These broke in #5144, #5383 and #5408.The verdict keeps all checks, not
--required: on PR #7481, 3 of 29 checks were required, and--requiredwould pass a failed Fail-to-Pass Check (AGENTS.md rule 5). #7509, #7510 and #7512 do the rest of #7499.Closes #7508
Change:
openspec/changes/archive/2026-11-28-7508-readiness-checks-gh/