Improve auto-merge help text when pipelines must succeed setting is turned off
Problem
It can be confusing when users have the merge checks setting "Pipelines must succeed" disabled for a project and an MR shows the merge button text "Set to auto-merge" with the help text "Merge when pipeline succeeds" for running pipelines.
Seeing the "Merge when pipeline succeeds" help text can be directly confusing that you have the "Pipelines must succeed" setting turned off, but it shows up as help text in the merge widget. However this feature is useful because it gives users a way to still respect the "Pipelines must succeed" setting without having it enabled (while an active pipeline is running). It also still gives users a way to merge immediately if they choose the pipeline is not important for the current MR. The merge immediately feature is not an option in the widget if you have the "Pipelines must succeed" setting enabled for the project.
Proposal
To clear up any confusion between the actual "Pipelines must succeed" setting and the "Auto-merge" feature that is more temporary from MR to MR we could improve the help text beside the merge button in the widget.
A few ideas for improving the help text:
- Merge when pipeline succeeds. If you don’t want to wait, you can select “Merge immediately” instead
- Merge when the pipeline succeeds or choose to merge immediately
- Merge when the pipeline succeeds or ignore the pipeline's state and merge immediately
We also could change the "help icon" to link to different documentation that explains the difference.