Skip to content

Commit c0bdfb4

Browse files
committed
ci: enable cancel-in-progress on concurrent run on release-plz
1 parent afda509 commit c0bdfb4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-plz.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
branches:
1111
- main
1212

13+
concurrency:
14+
group: ${{ github.ref }}-${{ github.workflow }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
release-plz:
1519
name: Release-plz
@@ -25,4 +29,4 @@ jobs:
2529
uses: MarcoIeni/release-plz-action@v0.5
2630
env:
2731
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
32+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)