Remind users when they have no permission to run the pipeline on the target branch
Problem to solve
Currently, if a user wants to run pipeline on the protected branch, he/she needs the permission to merge or push to the branch. If a user, with no permission to merge or push to the branch, creates a merge request to the protected branch, there will be no pipeline be triggered, which might be confusing if the user does not know the rule.
Thus, instead of only showing "there are currently no pipeline", adding a message to remind users in the merge request - pipeline
page when they have no permission to run the pipeline on the target branch might be more user-friendly.
Proposal
Add a remind message in the merge request - pipeline
page if the user does not have the permission to run the pipeline.
Edited by ZTZK