Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

branch_worker: Check pr.user.login for relevant pr #14

Closed
wants to merge 1 commit into from

Conversation

liu-song-6
Copy link
Contributor

When a PR is created from a different branch (instead of a fork), we see pr['head']'user']['login'] and pr['base']['user']['login'] are both "kernel-patches", but pr['user']['login'] is different. Such PR should not be considered as relevant. Add a check to cover this case.

@liu-song-6 liu-song-6 force-pushed the T174936535 branch 2 times, most recently from d6effc1 to 8dd9457 Compare January 18, 2024 20:52
When a PR is created from a different branch (instead of a fork), we see
pr['head']'user']['login'] and pr['base']['user']['login'] are both
"kernel-patches", but pr['user']['login'] is different. Such PR should not
be considered as relevant. Add a check to cover this case.

Signed-off-by: Song Liu <song@kernel.org>
@facebook-github-bot
Copy link
Contributor

@chantra has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@chantra merged this pull request in 81efeb8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants