OSS-Docs-Tools / code-owner-self-merge

A GitHub Action for letting CODEOWNERS merge PRs via green PR reviews
MIT License
52 stars 16 forks source link

Support auto-merge from "lgtm" with a way to cancel it #36

Open saschanaz opened 2 years ago

saschanaz commented 2 years ago

This way I don't have to wait until the test succeeds.

saschanaz commented 2 years ago

Not sure this is supported by API, https://docs.github.com/en/rest/reference/pulls#merge-a-pull-request still lists nothing about auto-merge.

Edit: Perhaps enabling auto-merge on a repository means that the merge API won't fail and instead will wait for the test, without additional parameter? Could you please enable it on microsoft/TypeScript-DOM-lib-generator so that I can test it 🤔

orta commented 2 years ago

( You'd have to ask on the repo, I don't have the rights anymore )

saschanaz commented 2 years ago

Oops, I'll do. Sorry!