Skip to content

Request changes on PRs with merge conflicts instead of commenting - #194

Merged
Jesse Hills (jesserockz) merged 1 commit into
mainfrom
jesserockz-2026-778
Oct 27, 2026
Merged

Jesse Hills (jesserockz) merged 1 commit into
mainfrom
jesserockz-2026-778

Conversation

@jesserockz

Copy link
Copy Markdown
Member

When a PR is labelled for merge conflicts, the stale workflow now submits conflict-pr-message as a request-changes review rather than a plain comment, so the PR shows as blocked in the PR list. GitHub does not allow the App to request changes on its own PRs, so those still get a comment.

Once the PR is mergeable again, the App's change-request reviews are dismissed before the conflict label is removed, in both the stale and not-yet-stale paths. If the dismissal fails, the label stays and the PR is retried next run. The App's reviews come from a Bot account, so they are never counted as real activity.

Note: in repositories that restrict who can dismiss reviews, the ESPHome App must be allowed to dismiss them.

The conflict notice is now a request-changes review, so a conflicting PR
shows as blocked in the PR list. The review is dismissed once the PR is
mergeable again.
@jesserockz
Jesse Hills (jesserockz) merged commit fc34b65 into main Oct 27, 2026
39 checks passed
@jesserockz
Jesse Hills (jesserockz) deleted the jesserockz-2026-778 branch October 27, 2026 01:24
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.

2 participants