variables: # Show timestamps in our job logs FF_TIMESTAMPS: true stages: - validate - build - test - deploy - publish workflow: rules: # Prevent branch pipelines if an MR is open on the branch. - if: $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "push" && $CI_OPEN_MERGE_REQUESTS when: never # Allow merge request pipelines. - if: $CI_PIPELINE_SOURCE == "merge_request_event" # Build tags and branches too - if: $CI_COMMIT_TAG - if: $CI_COMMIT_BRANCH .default_rules: rules: - if: $CI_MERGE_REQUEST_DRAFT == "true" when: manual - if: $CI_PROJECT_NAMESPACE == "plasma" && $CI_PIPELINE_SOURCE == "merge_request_event" when: manual - if: $CI_COMMIT_BRANCH =~ /^work\// when: manual - when: always