diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 501e078..a57d3a7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,6 +12,7 @@ on: jobs: pytest: + if: "!contains(github.event.head_commit.message, '[skip-ci]')" strategy: fail-fast: false matrix: diff --git a/.github/workflows/bump.yaml b/.github/workflows/bump.yaml index 56fc8e8..7861848 100644 --- a/.github/workflows/bump.yaml +++ b/.github/workflows/bump.yaml @@ -1,5 +1,4 @@ name: Bump version -# XXX test line for PR on: push: @@ -8,7 +7,7 @@ on: jobs: bump-version: - if: "!startsWith(github.event.head_commit.message, 'bump:')" + if: "!contains(github.event.head_commit.message, '[skip-ci]')" runs-on: ubuntu-latest name: "Bump version and create changelog with commitizen" steps: diff --git a/pyproject.toml b/pyproject.toml index 0704d4b..8d5962d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "cz_conventional_commits" version = "0.43.3" tag_format = "$version" -bump_message = "release $current_version → $new_version [skip-ci]" +bump_message = "release: $current_version → $new_version [skip-ci]" version_files = [ "VERSION",