Trying to run some task after merge request get accept (only on master branch).
I am aware of
only: - master -merge_requests config options, but want to specifically run pipeline only when code get merged in master.
integration-testing: stage: test only: - master script: - ./gradlew clean build asciidoctor
Another option is to create a webhook
If the "Merge request events" is clicked one could trigger a pipeline if a Pull Request gets updated, created or merged.
More options like this.
integration-testing: stage: test only: refs: - master - /release-.+/
Complete documentation can be found at gitlab doc