Skip to content

Fix MR pipelines run on only: regexp

Shinya Maeda requested to merge fix-mr-pipelines-run-on-regex into master

What does this MR do?

The matching by pattern and ref specification makes no sense if the source in merge-requests.

This, if needed, has to be explicitly implemented as separate feature that extends the merge-requests matching. Likely in the form:

only:
  merge-requests:
    - source-ref-name

Making this work with so generic and messy refs: makes this not behave correctly. This ensures that we can ref-match only tags and branches. The MR pipelines are separate sub-entity of pipelines.

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55026

Does this MR meet the acceptance criteria?

Edited by Kamil Trzciński

Merge request reports