Double pipeline triggered if merge request has melodic-* branch name.
This is because the second rule is triggered for the merge request pipeline.
workflow:
rules:
- if: "$CI_COMMIT_REF_NAME =~ /^kinetic-.*/"
variables:
DEFAULT_DISTRO: kinetic
- if: "$CI_COMMIT_REF_NAME =~ /^melodic-.*/"
variables:
DEFAULT_DISTRO: melodic
- if: "$CI_COMMIT_REF_NAME =~ /^noetic-.*/"
variables:
DEFAULT_DISTRO: noetic
- if: "$CI_COMMIT_TAG"
- if: "$CI_COMMIT_BRANCH"