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 branch protection support for required_status_checks checks
object
#2157
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@testworksau Would you like to provide a PR to fix this? The existing |
Note: Method |
will tackle this, see comment #2873 (comment) |
It's possible to set branch protections using the contexts field within the
RequiredStatusChecks
class, however, according to the documentation, contexts is deprecated.checks
(an array of objects) will replacecontexts
as it allows you to configure the source of the check.An example of the raw request to set required status checks using the
checks
object is:The text was updated successfully, but these errors were encountered: