ci: remove wip/draft rule, make it simpler. Run pipeline for every push

This commit is contained in:
Fu Hanxi 2021-02-25 16:03:40 +08:00
parent 0d5a3a2d53
commit b4f8b250e8

View File

@ -14,12 +14,6 @@ workflow:
# Disable those non-protected push triggered pipelines
- if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_PIPELINE_SOURCE == "push"'
when: never
- if: '$CI_COMMIT_TITLE =~ /^test[ _]ci:/'
when: always
- if: '$CI_MERGE_REQUEST_IID && $CI_MERGE_REQUEST_TITLE =~ /^wip|draft:/i'
when: never
- if: '$CI_COMMIT_TITLE =~ /^wip|draft/i'
when: never
- when: always
variables: