This commit is contained in:
Kay0u 2021-06-08 15:08:24 +02:00
parent a8d31a5185
commit cdb6973b4f
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -17,7 +17,7 @@ workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' # If we move to gitlab one day
- if: '$CI_PIPELINE_SOURCE == "external_pull_request_event"' # For github PR
- if: '$CI_COMMIT_REF_NAME =~ /$CI_DEFAULT_BRANCH/ && $CI_PIPELINE_SOURCE == "push"' # If it's not the default branch and if it's a push, then do not trigger a build
- if: '$CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"' # If it's not the default branch and if it's a push, then do not trigger a build
when: never
- when: always