I've been working on a hobby project in a private repo on Github. I'm not at the point where I want to convert to a Github team so I can't enforce branch protection rules. I did want to prevent merging if some CI check I have setup failed so I don't end up with type-errors in main.
To solve for this I made this extension which disables the Github merge button when checks are failing and/or a user defined label is on the PR.
There's a content script that uses a MutationObserver to know when to disable/enable. That content script also listens to chrome.storage.sync.onChanged to know the values set in the configuration pop-over.