Skip to content

Commit

Permalink
Use concurrency in bump-changelog.yml
Browse files Browse the repository at this point in the history
And fix concurrency group definition in
`release.yml`.
  • Loading branch information
chrysle committed May 17, 2024
1 parent 4338952 commit 99bc753
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/bump-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
description: 'Version to be released'
required: true
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
default-python: "3.12"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types:
- closed
concurrency:
group: tests-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
Expand Down

0 comments on commit 99bc753

Please sign in to comment.