CI_MERGE_REQUEST_APPROVED cannot trigger pipeline automatically after approved
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
I tried the CI_MERGE_REQUEST_APPROVED variable for my pipeline using below scripts, and it works to prevent pipeline from running.
But the problem is, the pipeline cannot be automatically triggered when approvals are all set. It must be manually triggered.
workflow:
rules:
- if: '$CI_MERGE_REQUEST_APPROVED == "true" '
Proposal
Is there any problem of my usage or it requires other keywords for auto-trigger?
If it is designed like this, can I propose to enhance the CI_MERGE_REQUEST_APPROVED with configurable manual/auto trigger option?
Edited by 🤖 GitLab Bot 🤖