Skip to content

Commit

Permalink
ci: enable cancel-in-progress on concurrent run on release-plz
Browse files Browse the repository at this point in the history
  • Loading branch information
davidB committed Nov 5, 2024
1 parent afda509 commit c0bdfb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
release-plz:
name: Release-plz
Expand All @@ -25,4 +29,4 @@ jobs:
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit c0bdfb4

Please sign in to comment.