-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Support for overriding base branch names #64
Support for overriding base branch names #64
Conversation
Support overriding base branch name
Thanks so much for your contribution, @nirnanaaa! I'll take a look at this shortly. |
Co-authored-by: Zack Proser <zackproser@gmail.com>
The implementation mostly looks good to me! I added some code necessary for allowing the parsing of the new In local testing, I found one issue that I'll need to fix prior to us merging this in: namely the behavior where we key off an HTTP 422 status code from Github whenever a pull request fails to be opened. Currently, we're using this return code to determine when someone has requested a draft pull request via the Before we can merge this, I'll need to add logic to determine which type of HTTP 429 error we received: a) the error relating to draft pull requests or b) the error relating to the base branch name provided by the user being invalid. |
- Github returns HTTP status 422 for several different error states - Now that we're introducing --base-branch-name, we need to differentiate between the error states
Alright - did this in 1adbd58. Kicking off tests now and then will look for someone who's not me to review! |
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 review! Going to merge this in now. |
Support overriding base branch name (Follow up to #22)
Description
Since our git workflow uses multiple branches of the same repository in some places, I thought it would make sense to support an optional argument for overriding the base branch name globally (might be an addition to #22).
Documentation
--base-branch-name=<xxx>
TODOs
Please ensure all of these TODOs are completed before asking for a review.
feature/new-vpc-endpoints-955
orbug/missing-count-param-434
.Related Issues
#22