merge when pipeline succeeds gitlab
enable_merge:
only: [merge_requests]
script:
- echo true
merge when pipeline succeeds gitlab
enable_merge:
only: [merge_requests]
script:
- echo true
gitlab ci run pipeline only when new merge request created
Gitlab CI only run on Merge Request
To configure pipelines for merge requests,
add the only: [merge_requests] parameter to
the jobs that you want to run only for merge requests.
Then, when developers create or update merge requests,
a pipeline runs every time a commit is pushed to GitLab.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us