Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pr got approved, but not merged. bot does nothing #84

Open
davidak opened this issue Aug 10, 2020 · 2 comments
Open

pr got approved, but not merged. bot does nothing #84

davidak opened this issue Aug 10, 2020 · 2 comments

Comments

@davidak
Copy link

davidak commented Aug 10, 2020

the bot should do something to get the pr merged

NixOS/nixpkgs#77009

the bot could set /status needs_merger, when a reviewer has no commit rights and approved

maybe there should be a rule that a pr should have at least 2 approvals before it can get merged, so an impactful pr get's not merged by the first reviewer

@timokau
Copy link
Owner

timokau commented Aug 20, 2020

It seems like there might be a misunderstanding, this bot will never merge anything itself. It will only label a PR as needing merge and maybe request a review from someone with the right permission.

Its an intentional choice to require an explicit /status needs_merge instead of reacting to GitHub approvals. That is because GH approvals have a bit of a vague meaning and are used by different people for different purposes. I'm not yet 100% sure if we want to keep it that way, maybe once the bot is more established people would know what an "approval" means. Another alternative is to write a message when someone approves but does not set to needs_merge that explains the situation.

@davidak
Copy link
Author

davidak commented Aug 20, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants