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

Add a note about PRs being merged automatically #21

Merged
merged 1 commit into from
May 13, 2017

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented May 12, 2017

No description provided.

symfony-bot
symfony-bot previously approved these changes May 12, 2017
@yceruto
Copy link
Member

yceruto commented May 12, 2017

What if I'm no ready to merge the PR? if someone approve it I lose the PR?

What do you think about a label to avoid the auto-merge, something like wip (i.e we need add this label to avoid auto-merge)? later when the author remove this label, @symfony-bot merges then.

@yceruto
Copy link
Member

yceruto commented May 12, 2017

... or maybe better by using the PR title, if '[WIP]...' don't auto-merge?

@fabpot
Copy link
Member Author

fabpot commented May 13, 2017

I've just updated the checks to be more strict and predictable.

@robfrawley
Copy link
Contributor

@fabpot Out of interest, (in your language preferences), what did you write @symfony-bot in?

@fabpot
Copy link
Member Author

fabpot commented May 13, 2017

@robfrawley It's written in Go :)

@symfony-bot symfony-bot merged commit da0625a into master May 13, 2017
@stof stof deleted the readme-auto-merge branch May 15, 2017 08:55
@stof
Copy link
Member

stof commented May 15, 2017

@fabpot does it also handle the case where 1 reviewer requested changes and another one approves ? The PR should not be merged until the first reviewer approves again, or their review gets dismissed.

@fabpot
Copy link
Member Author

fabpot commented May 15, 2017

@stof Yes, taht's taken into account as we are using the Github green button to merge, which enforces that rule for us.

@robfrawley
Copy link
Contributor

robfrawley commented May 16, 2017

@fabpot What about also allowing repository "collaborators" (those with push access) to approve these recipe PRs (to cause an auto-merge); this may be important in some circumstances.

For example, with regard to #14, no members of @liip actively maintain liip/LiipImagineBundle; instead, it has been me and two or three others developing and maintaining the project. None of us are members of @liip but we all have "collaborator" status for the given repository.

I suspect this situation isn't uncommon for other projects, as well.

@stof
Copy link
Member

stof commented May 16, 2017

@robfrawley The list of repo collaborators is not a public resource in the Github API. Only people with push access to the repo can get the list. So the symfony-bot cannot use this info.

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

Successfully merging this pull request may close these issues.

6 participants