From 48918cc3d6f0bb5c7f2320df4a11688fbacb29be Mon Sep 17 00:00:00 2001 From: Harris Tzovanakis Date: Tue, 16 Jul 2024 10:38:04 +0200 Subject: [PATCH] gh-actions: skip ci on bump --- .github/workflows/bump.yml | 12 ++++++------ setup.cfg | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index cab5c68..9d2efeb 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -39,10 +39,10 @@ jobs: run: | bump2version patch --tag --verbose - # - name: Push changes - # uses: ad-m/github-push-action@v0.8.0 - # with: - # branch: ${{ github.ref }} - # github_token: ${{ secrets.PAT }} - # tags: true + - name: Push changes + uses: ad-m/github-push-action@v0.8.0 + with: + branch: ${{ github.ref }} + github_token: ${{ secrets.PAT }} + tags: true diff --git a/setup.cfg b/setup.cfg index b458617..c94e919 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,7 @@ current_version = 3.0.53 commit = True tag = True tag_name = {new_version} +message= Bump version: {current_version} → {new_version} [skip ci] [bumpversion:file:setup.py] search = version="{current_version}"