Skip to content

KAFKA-20362: Skip PR reviewer auto-fill when no usable email is available#22108

Open
mingyen066 wants to merge 1 commit intoapache:trunkfrom
mingyen066:KAFKA-20362-skip-unresolved-reviewer-email
Open

KAFKA-20362: Skip PR reviewer auto-fill when no usable email is available#22108
mingyen066 wants to merge 1 commit intoapache:trunkfrom
mingyen066:KAFKA-20362-skip-unresolved-reviewer-email

Conversation

@mingyen066
Copy link
Copy Markdown
Collaborator

@mingyen066 mingyen066 commented Apr 20, 2026

Fix #21928 (comment).

Skip the Reviewers auto-fill when no reliable email can be resolved,
rather than writing a noreply or placeholder email that has to be
corrected manually.

…able

Follow-up to apache#21928. For reviewers with "Keep my email addresses
private" enabled, the author email surfaced by the commit history
lookup is rewritten by GitHub to <id>+<login>@users.noreply.github.com
on squash-merged commits, and their profile email is typically null.
The script then wrote that noreply email, or a {login}@email-not-found
placeholder when both tiers missed, into the Reviewers: trailer --
neither identifies the reviewer.

Treat noreply and missing emails as "not found" and skip the trailer
update entirely when no reliable email can be resolved. Reviewers
whose real email is recoverable from the commit history or GitHub
profile continue to be auto-filled as before.
@github-actions github-actions bot added triage PRs from the community build Gradle build or GitHub Actions small Small PRs labels Apr 20, 2026
@mingyen066 mingyen066 requested a review from mjsax April 20, 2026 23:06
@mingyen066 mingyen066 requested a review from chia7712 April 20, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant