-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Always send 'checks' field when creating branch protection #2468
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.
Thank you, @luisdavim .
Could you please add a unit test demonstrating that this field is indeed sent when empty as a means of documenting that we explicitly wish to send it in all cases?
Codecov Report
@@ Coverage Diff @@
## master #2468 +/- ##
=======================================
Coverage 98.03% 98.03%
=======================================
Files 122 122
Lines 10695 10695
=======================================
Hits 10485 10485
Misses 144 144
Partials 66 66
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…anches to be up to date before merging and no checks Signed-off-by: Luis Davim <[email protected]>
@gmlewis I've added a new test case for this scenario, where we set strict branch protection checks with an empty set of checks. |
…ction checks Signed-off-by: Luis Davim <[email protected]>
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.
Thank you, @luisdavim !
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
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.
LGTM
Thank you, @raynigon ! |
Fixes #2467