From c0bdfb49ab23d9e54536eb80c8054240ccd558c5 Mon Sep 17 00:00:00 2001 From: David Bernard Date: Tue, 5 Nov 2024 12:24:04 +0100 Subject: [PATCH] ci: enable cancel-in-progress on concurrent run on release-plz --- .github/workflows/release-plz.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 3702a46..08031fd 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -10,6 +10,10 @@ on: branches: - main +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: release-plz: name: Release-plz @@ -25,4 +29,4 @@ jobs: uses: MarcoIeni/release-plz-action@v0.5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} \ No newline at end of file + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}