-
Notifications
You must be signed in to change notification settings - Fork 59
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
Auto PR with Auto merge for syncing master-v2 #1604
Conversation
is there a way to auto-merge PR if there are not conflicts? |
@InoMurko Interesting! Looks like this could do this https://developer.github.com/v3/pulls/#merge-a-pull-request unless that makes way for further complications |
This should help us reduce steps and friction to the minimum! |
How are we planning to tackle merge conflicts (if they come up)? Should we have a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are introducing auto merge, I guess we can auto merge master
-> master-v2
directly.
If there is conflict, the engineer fixing the conflict would branch out him/herself and propose PR to merge to master-v2
. This should work, right?
But anything works should be fine :p
Yeah totally. Branching out on conflicts should work. |
A trolling idea, we can have multiple bot approving 😂 |
@boolafish added the auto-merge. Lmk if this is in order. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
Could we get a check if the settings have been applied before merge. |
I'm perhaps out of the loop, what do you mean by that? Which settigs? master1->master2? |
@InoMurko mostly the branch restrictions and adding the access token for the omisego-bot. Redirecting to #1604 (comment) under the additional settings section |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following up from discussion, I think settings are good to go here for this PR.
Thanks 👍 , ohh so the bot's token is also added now? |
|
Overview
Create/modify a PR and auto-merge to sync master-v2 with changes pushed to master
Flow
Additional settings
HOUSE_KEEPER_BOT_TOKEN
master-v2
to easily auto-mergemaster
branch, waiting introduces complications :( )