You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Describe the user story
As an engineer, I'd like all of my automerged atlantis PRs to use the squash merge method without having to specify a flag on every atlantis apply command.
Describe the solution you'd like
I'd love to be able to set the automerge method alongside the automerge enabled/disabled flag in atlantis.yaml
An ideal configuration in the atlantis.yaml would look like:
Right now it's possible to set the --auto-merge-method flag on an atlantis apply command when automerge: true. It would be awesome to be able to set the automerge-method in the repo file so every atlantis apply uses that method. Our use case here is enforcing squash commits to our main branch, but atlantis automerging currently fails because the default merge method isn't allowed. This results in this error:
Automerging failed:
merging pull request: PUT https://api.github.com/repos/FigureTechnologies/figure-infra/pulls/530/merge: 405 Merge commits are not allowed on this repository. []
The text was updated successfully, but these errors were encountered:
Community Note
Describe the user story
As an engineer, I'd like all of my automerged atlantis PRs to use the squash merge method without having to specify a flag on every
atlantis apply
command.Describe the solution you'd like
I'd love to be able to set the automerge method alongside the automerge enabled/disabled flag in
atlantis.yaml
An ideal configuration in the
atlantis.yaml
would look like:Right now it's possible to set the
--auto-merge-method
flag on anatlantis apply
command whenautomerge: true
. It would be awesome to be able to set theautomerge-method
in the repo file so everyatlantis apply
uses that method. Our use case here is enforcing squash commits to our main branch, but atlantis automerging currently fails because the default merge method isn't allowed. This results in this error:The text was updated successfully, but these errors were encountered: