Details
-
Suggestion
-
Resolution: Unresolved
Description
I'm aware of the [skip ci] tag, which is super useful, but there are some cases where a little more control is required. For example, let's say I don't want to trigger a branches pipeline but I do want to be able to trigger a tags pipeline, it would be nice if I could just add something like [skip branches] in the commit message, that way branches pipelines are not triggered but everything else is.
Practical example:
#!python pipelines: branches: master: - step: script: - echo "Auto version up" - echo "Commit and push with [skip branches] in message" # Avoid endless loop tags: external/**: - step: script: - echo "Create build"
In the example above I want to automatically version up my application every time a new change is pushed to master and I want to create a build every time a commit in master is tagged as external/**.