diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3331728..36c7cb0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,8 +17,12 @@ on: - "docs/**" - "README.md" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: - release: + build: permissions: contents: write diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b461f0d..76f4c85 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,6 +12,10 @@ on: - minor - major +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: release: permissions: