[ci] Android PR Reviewer: restrict to COMMENT events only#11762
Merged
Conversation
Remove REQUEST_CHANGES from allowed-events so the reviewer workflow can only post comments, not block PRs by requesting changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Android PR Reviewer workflow configuration so it can only submit COMMENT reviews (never REQUEST_CHANGES), preventing the bot from blocking PRs while still surfacing findings as advisory feedback.
Changes:
- Restricts
submit-pull-request-reviewallowed-eventsto[COMMENT]in the workflow definition. - Updates the reviewer instruction text to explicitly prohibit
APPROVEandREQUEST_CHANGES. - Regenerates the corresponding
.lock.ymlso the safe-outputs configuration matches the new restriction.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/android-reviewer.md | Limits review submission events to COMMENT and updates instructions accordingly. |
| .github/workflows/android-reviewer.lock.yml | Updates generated safe-outputs configs to only allow COMMENT events. |
simonrozsival
approved these changes
Jun 26, 2026
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 Android PR Reviewer workflow was allowed to submit
REQUEST_CHANGESreviews, which block PRs and require a maintainer to manually dismiss the review (as just happened on #11758). The reviewer is an advisory bot — its findings should surface as comments, not as a merge blocker.This removes
REQUEST_CHANGESfromallowed-eventsin.github/workflows/android-reviewer.mdso the workflow can only submitCOMMENTreviews, and updates the instruction line accordingly. The generated.lock.ymlis updated to match.No behavior change for clean PRs; "needs changes" findings will now appear as a comment-style review instead of a changes-requested review.