Skip to content

Commit e1f81b7

Browse files
committed
ci: do not cancel in progress release workflow on bump
1 parent 0d9f41b commit e1f81b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ on:
1010

1111
concurrency:
1212
group: tag-and-release-${{ github.ref }}
13-
cancel-in-progress: true
13+
cancel-in-progress:
14+
${{ ! startsWith(github.event.head_commit.message, 'bump:') }}
1415

1516
jobs:
1617
black:
@@ -35,7 +36,7 @@ jobs:
3536

3637
release:
3738
needs: test
38-
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') }}
39+
if: ${{ ! startsWith(github.event.head_commit.message, 'bump:') }}
3940
# Don't run 'bump:'
4041
permissions:
4142
contents: write

0 commit comments

Comments
 (0)