Revert "CI: try to prevent more duplicate pipelines in merge requests"

This reverts commit b326ae6b5b.

The rule does not make any difference, so no point to keep it.
This commit is contained in:
Maxim Ganetsky 2023-06-30 01:28:48 +03:00
parent f0a8e22cec
commit f1f6c65d73

View File

@ -11,8 +11,6 @@ variables:
workflow: # these rules enable pipeline for merge requests and try to avoid duplicate pipelines
rules:
# - when: never # uncomment this line to disable pipeline (useful for service needs)
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
when: never
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never