Set PR status without being tied to specific commit (e.g. Commit Status or Check Run)

It would be very helpful to be able to programmatically block/unblock mergeability of PRs without being tied to a particular commit. The only APIs available for doing this are the Commit Status and Check Run APIs, both of which are tied to specific commits.

For example, enforcing that a PR body must contain certain things, etc. This has nothing to do with a particular commit.

This sort of functionality seems to already exist for certain built-in things (such as required reviewers, etc.) but there’s no ability to create/update arbitrary status checks for PRs.

1 Like

Hi Rtsao,

Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list.

Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

Please let me know if you have any other questions.

Cheers!