atlantis
atlantis copied to clipboard
Feature Request: Allow Auto Merge with Squash or Rebase option
Hi All,
is it possible to auto merge with squash or rebases? I think if we don't have this feature we need to implement this because its difficult to look into history.
+1
+1
+1
With only rebase allowed on the repo you get this error:
Unable to merge pull, error: merging pull request: PUT https://api.github.com/repos/org/repo/pulls/112/merge: 405 This branch must not contain merge commits. []
Seems like this ability exists but perhaps there is a bug or perhaps your pr did have merge conflicts?
https://github.com/runatlantis/atlantis/blob/9fa4cd3c344df2387baca5d50557bc4710e8be13/server/events/vcs/github_client.go#L617-L666
I believe this is a duplicate of https://github.com/runatlantis/atlantis/issues/1176
It seems it was fixed in March, but the changes were rolled back.
A final fix is still needed imho - but more discussion is available on the other issue.