Skip to content

Need a function to remove status check contexts #1770

@RenukuntlaMonisha

Description

@RenukuntlaMonisha

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions