ci(rules): define git-flow style rules
We define rules to match somewhate a git-flow style workflow to activate jobs:
-
.not-on-prod
: on all branches except production -
.on-branches
: on supporting branches, i.e. everything except production and developpment -
.on-dev
: on developpment branch only -
.on-prod
: on production branch only -
.on-release-tag
: on the release tag only
We always exclude pipeline triggered from schedule.
-
templates/Rules.yaml: define the new rules templates.
-
templates/Lint/Commitlint.yaml (commitlint): execute on all branch except production.