From 7142d945004e3b764c2c8fb4e94db012e0eb71bc Mon Sep 17 00:00:00 2001 From: Pierre Mavro Date: Wed, 17 Nov 2021 17:22:37 +0100 Subject: [PATCH] feat: automatically cancel other running action jobs from same branch --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index adc3de0a..11c576c5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,10 @@ on: pull_request: branches-ignore: [ main, dev ] +concurrency: + cancel-in-progress: true + group: ${{ github.head_ref }} + jobs: security_audit: runs-on: ubuntu-latest