kodiak
kodiak copied to clipboard
Hide merge button on GitHub
I can still see a merge button under PRs, even though Kodiak is active. Is there a way to force exclusive push access by the bot to the default branch? And in addition, to hide this button?
Currently there isn't anyway to ensure that only kodiak merges PRs. I think its something we could add via branch protection and a status check that only kodiak can set, but it's a bit of work.
For hiding the button Shopify has a browser extension they outline in https://engineering.shopify.com/blogs/engineering/introducing-the-merge-queue that hides the merge button to better integrate with their merge tool shipit.
Definitely possible to do something similar for kodiak, or even via a stylus rule.
@sbdchd, great. I'm first going to look into those options.
@sbdchd: Would it be possible to add @kodiakhq as code owner and require its 'review'?
@sanmai-NL I think that could probably work, the caveat is that Kodiak doesn't have great support for code owners (#96).
I haven't looked into this too much, but I think you might be able to use this branch protection setting depending on how your organization permissions are setup. You'd need to allow Kodiak to merge pull requests.

That's what I use now.
I think the merge button is still visible for admins though.