Search code examples
githubgithub-actionsgithub-api-v4github-check-run

Deleting stale checks on github


I have ended up with some stale checks, mostly as outcome of renaming/refactoring workflows, and I'd like to remove the stale ones, but github doesn't seem to expose any button/api.

How can I do that? Stale checks also prevent developers from merging their pr.

enter image description here


Solution

  • You may select your valid/updated check(s) from the list under Status checks found in the last week for this repository, to ensure that only the selected status checks are required to pass before merging.

    The list of checks that show up there are the ones found for the last week, so the stale ones would go off from that settings page after over a week as those stale checks would no longer be found.