Give a .gitlab-ci.yml snippet which will only run the pipeline when merge request event…
- User
Give a .gitlab-ci.yml snippet which will only run the pipeline when merge request event happens. Do not run the pipeline for normal push of commits.
Assistant
To configure your
.gitlab-ci.ymlso that a pipeline only runs when a merge request (MR) event occurs (and ), you can use the keyword with a condition based on the variable.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.