I've written a simple gitlab-ci.yml
like this.
job1:
script:
- echo hello
Currently, the script got triggered whenever a commit is pushed to any branches.
How can I configure gitlab-ci to make this script triggered only after a merge request is merged into the master branch?
I cannot find how to achieve my goal in the only
key word.
There's a Merge request events
option in Settings -> Integrations
page, which seems to provide the function that is close to what I want.