From 0882cc5ecf59b3dbe0f7830048963a32eae2eeeb Mon Sep 17 00:00:00 2001 From: Rowan Dash Date: Mon, 25 Sep 2023 11:38:32 +0100 Subject: [PATCH] feat: add concurrency groups to CI (#46) --- .github/workflows/on-pr-update.yaml | 4 ++++ .github/workflows/release.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/on-pr-update.yaml b/.github/workflows/on-pr-update.yaml index 3f843ec..4f2bcf7 100644 --- a/.github/workflows/on-pr-update.yaml +++ b/.github/workflows/on-pr-update.yaml @@ -6,6 +6,10 @@ on: - opened - synchronize +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: slack: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 026a49a..0dff7a7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,6 +5,10 @@ on: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + jobs: ######################################################################################################################