From 4443528cf83dbe94ef46792a52f236a75a546f43 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Thu, 13 Jan 2022 18:35:42 +0100 Subject: [PATCH] ci: cancel duplicate test workflow (#1513) --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 01caefa77..452e396d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,10 @@ on: types: [opened, reopened, synchronize, edited] branches: [main] +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: pre-commit: runs-on: ubuntu-latest