I have a requirement of github API.
I use github action to trigger my PR test, but I need an API to cancel some check runs. I tried https://docs.github.com/en/rest/reference/checks#update-a-check-run API. It does not work for me because the check run is created by github-action app. And I got error “check run can only be modified by the GitHub App that created it”.
Do you know any API I can use to cancel check run? Thanks.
Unfortunately, we seems have no any API can do this. Currently, you must execute the “Update a check run” API from the GitHub Apps that created the check runs.
Ack. Thanks for you reply.
You’re welcome, @henrywang.
In addition, maybe you can go to the GitHub API Development and Support board of the GitHub Community to look for an existing topic or start a new one for your questions.
The GitHub API Development and Support board is used for the discussions and questions about using the GitHub API, building GitHub Apps, and everything else to do with the GitHub Platform.