User I want to do a Merge request pipelines, which run on the changes in the merge…
- User
User I want to do a Merge request pipelines, which run on the changes in the merge request's source branch, ignoring the target branch.
Can you help me produce a .gitlab-ci for this
Assistant
To create a
.gitlab-ci.ymlfile for merge request pipelines that run on the changes in the merge request's source branch, ignoring the target branch, you can follow these steps:-
Create a
.gitlab-ci.ymlfile in the directory of your project if it doesn't already exist.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.