Commit f3716d91 authored by Georges Racinet's avatar Georges Racinet 🦑

Heptapod CI: more explicit workflow:rules

--HG--
branch : heptapod
parent fbe2df8f6421
......@@ -12,13 +12,16 @@ stages:
workflow:
rules:
- if: '$CI_COMMIT_TAG =~ /^heptapod-/'
when: always
# in practice, we're interested in MR events and occasional runs
# from the web. Push runs have a tendency to be skipped even
# from the web.
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "web"'
#Push runs have a tendency to be skipped even
# before the MR is written, and then there's no subsequent pipeline
- if: '$CI_PIPELINE_SOURCE != "push"'
# let's not forget tags!
- if: '$CI_COMMIT_TAG =~ /^heptapod-/'
- if: '$CI_PIPELINE_SOURCE == "push"'
when: never
variables:
# copied from .gitlab-ci.yml, some of these may not be useful yet,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment