-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Add strict parameter to GitHub::check_for_duplicate_pull_requests
#20082
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
Add strict parameter to GitHub::check_for_duplicate_pull_requests
#20082
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks great! One change for consistent messages:
GitHub::check_for_duplicate_pull_requests
GitHub::check_for_duplicate_pull_requests
c2daab8
to
0bd9d70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alex!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @alex!
Where is this strict
parameter being used/set to true
?
Note that this is not (currently at least) either an internal or public API. If it's needed elsewhere: let's make it an internal or public API, accordingly.
This is for brew-pip-audit, #19828 has the additional context. Right now it's sending duplicate PRs (see, https://github.com/Homebrew/homebrew-core/pulls?q=is%3Aopen+is%3Apr+label%3Apip-audit) which is :-( |
@alex Ok, thanks. Could you add a |
…r_duplicate_pull_requests`
0bd9d70
to
efa0c95
Compare
Let me know if this matches what you were looking for, or if you wanted more detail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thanks again @alex!
Of course, thanks for the review! |
Fixes #19828