Add --auto-merge, make --when-pipeline-succeeds an alias
Problem to solve
As a user, I want the glab mr merge
command to have an --auto-merge
flag, so that it's consistent with the GitLab UI.
Proposal
In chore: Renames strings to auto-merge (!1285 - merged), I proposed string changes to the glab mr merge
command to bring them more in line with the changes to the GitLab UI from Replace merge strategy labels with `Auto-merge`... (gitlab#359057 - closed). However, that doesn't fix the --when-pipeline-succeeds
argument.
For backward compatibility, it would make the most sense for --auto-merge
to do what --when-pipeline-succeeds
currently does, and make --when-pipeline-succeeds
an alias of --auto-merge
.