You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
Thank you for opening this issue! Changes to the REST API schema can be requested in github/rest-api-description. I will transfer your issue over to that open source repo.
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/branches/branch-protection#remove-status-check-contexts
What part(s) of the article would you like to see updated?
The API in document has wrong content sent. It should directly include list rather than adding it under context.
This is regarding API for - Remove status check contexts
The api body parameters need to be fixed. It should not have an. contexts subpart.
So
-d '{"contexts":["continuous-integration/travis-ci"]}'
should be-d '["continuous-integration/travis-ci"]'
I have tested it and it only works with this.
Additional information
No response
The text was updated successfully, but these errors were encountered: