Skip specific types of pipelines based on commit message

Issue #17730 open
Alejandro Cotilla
created an issue

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:

      - step:
            - echo "Auto version up"
            - echo "Commit and push with [skip branches] in message" # Avoid endless loop

      - step:
            - 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/**.

Comments (1)

  1. Aneita Yang staff
    • changed status to open

    Hi @Alejandro Cotilla,

    Thanks for reaching out and for the suggestion. I can see why having the ability to skip specific types of pipelines would be useful.

    Given our current projects and priorities, this is unlikely to be something that we support any time soon. In the meantime however, I'll open this ticket to gauge the interest of other users in seeing the same functionality.


  2. Log in to comment