Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 925f9f96 authored by Raphael JOIE's avatar Raphael JOIE
Browse files

workflow disable merge request

parent e70679db
No related branches found
No related tags found
1 merge request!4Resolve "test-merge-request-event-type"
Pipeline #132233 failed
......@@ -19,12 +19,14 @@ stages:
- test-deploy
#https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines
#workflow:
# rules:
# - if: $CI_PIPELINE_SOURCE == "merge_request_event"
# - if: ($CI_COMMIT_BRANCH || $CI_COMMIT_TAG) && $CI_OPEN_MERGE_REQUESTS
# when: never
# - if: $CI_COMMIT_BRANCH || $CI_COMMIT_TAG
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
# Don't run on first init commit of a branch
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_BEFORE_SHA == "0000000000000000000000000000000000000000"
when: never
- if: $CI_COMMIT_BRANCH || $CI_COMMIT_TAG
debug:
stage: debug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment