From e4f42082f2fc60247d4b444d29f10f99c2cb51fd Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Fri, 7 Apr 2023 14:58:22 +0200 Subject: [PATCH] Cancel in-progress workflow jobs --- .github/workflows/setup-conda.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/setup-conda.yml b/.github/workflows/setup-conda.yml index dc351b5..79b4a98 100644 --- a/.github/workflows/setup-conda.yml +++ b/.github/workflows/setup-conda.yml @@ -7,6 +7,11 @@ on: pull_request: branches: [ main ] +# Cancel previous runs that have not completed +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: conda: strategy: