Skip to content

Add support for [skip ci] #20

Closed
@marcosschroh

Description

@marcosschroh

Hi,

I was thinking and maybe could be a good feature to add the option [skip ci] to the commit message in order to skip the CI process. Most of CI tools like CI Gitlab, Jenkins explore the commit message and If it contains [ci skip] or [skip ci], using any capitalization, the commit will be created but the pipeline will be skipped.

Current situation: We want to bump a version after we detect some changes on the master branch. This process can be done by the CI process, so after the bumping, a new commit is generated and push to master branch. This latest commit will trigger again the CI unless [skip ci] is found in the message.

So, maybe the bump command could have an extra option like:

cz bump --skip-ci

generating: version 0.6.0 → 0.7.0 [skip ci] commit message.

The [skip ci] message could be configured as well in order to support multiple CI conventions tools. By default, should be [skip ci].

Make sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions