Skip to content

Need a function to remove status check contexts #1770

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

Closed
RenukuntlaMonisha opened this issue Jan 4, 2021 · 1 comment · Fixed by #1776
Closed

Need a function to remove status check contexts #1770

RenukuntlaMonisha opened this issue Jan 4, 2021 · 1 comment · Fixed by #1776
Assignees

Comments

@RenukuntlaMonisha
Copy link

I want to remove all the status checks that are added under my branch protection, to do so I tried using this UPDATE API call with the array of status checks as empty: https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#update-status-check-protection
but I'm not able to achieve what I wanted.
Then I tried using this recent DELETE API to remove status checks,
https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#remove-status-check-protection
It worked but there is no equivalent function in this go package. Can you add the same?

@n1lesh
Copy link
Contributor

n1lesh commented Jan 15, 2021

@gmlewis I can take this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants