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

Auto resolve conflicts #25

Open
NitzanShifrin opened this issue Nov 22, 2021 · 2 comments
Open

Auto resolve conflicts #25

NitzanShifrin opened this issue Nov 22, 2021 · 2 comments

Comments

@NitzanShifrin
Copy link

Hey there!
Any chance to add a flag to decide what branch to take when conflicts are happening.
We want to have different versions for different branches, but we cant resolve the conflicts for now.

@andrewfenn
Copy link
Contributor

After looking into this it doesn't seem possible to do this because the github API doesn't support merging of branches with conflicts.
https://docs.github.com/en/rest/reference/branches#merge-a-branch

It might be possible to check out the code and do something outside of the API but I do not think the author of this project would want to do that given they're explicitly using the github API.

My recommendation would be to first bug Github to add it as a feature to their rest API.

@alexcroox
Copy link

It would be useful if the step could set a flag if there was a conflict so we can take post actions such as commenting on the PR a manual resolution needs to happen

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

3 participants