Repository navigation
ci: a pull request needs one approval, and the second reader is a GitHub App - #1528
Merged
Merged
Conversation
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.
Summary
mainrequires one approval. Until now it required none, so a pull request could merge on CI alone, and #1521 landed before its second read had finished, with a figure that read found overstated.The maintainer account opens most changes and GitHub refuses an account's approval of its own pull request, so the second reader is a GitHub App,
rvt-rs-review(an automated Claude Code reviewer). It approves the maintainer's pull requests, and the maintainer approves a contributor's and the App's.docs/maintaining.mdrecords this, that the approval comes last because a push dismisses it, and thatmainis measured every three landings.The live ruleset is updated by hand after this lands, from this file (
gh api -X PUT repos/DrunkOnJava/rvt-rs/rulesets/15270879 --input .github/rulesets/main-protection.json), as the file and the live ruleset must match (tools/maintainer/audit.py).Testing
required_approving_review_countchanges (0 to 1).dismiss_stale_reviews_on_pushstays true.Refs #1521