-
Notifications
You must be signed in to change notification settings - Fork 763
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
Fix strict branch protection #954
Conversation
Confirmed to work as expected, thanks @kfcampbell ! |
Alright I've spent more time here and done an expanded testing matrix on both the current release and this feature branch. The results are as follows: main branch
bugfix branch
In addition, @jcudit and I have done some internal investigation and it looks like the weird behavior with the hidden checkbox already checked is by design, or at least it's been that way from the beginning. TL;DR this PR is ready for review! The bug is fixed on this branch and there's no regression on #572. |
* Initial commit of strict protection fix * Add back commented diff suppresion func to keep linter happy * Remove diff suppression function entirely
Strict protection on v4 branch protection doesn't work at the moment. This PR makes minor code changes and removes the diff suppression func in order to correct strict branch protection.
The research to get to this point is chronicled in #880.
The TL;DR is that by removing the diff suppression and making a minor code change to the branch protection processing, we can restore strict branch protection with the graphQL client.