From b12128e0c1578e58ead4ef4fc2bf4be440a9709a Mon Sep 17 00:00:00 2001 From: dndll Date: Fri, 16 Feb 2024 10:36:32 +0000 Subject: [PATCH] ci: cancel if multiple jobs --- .github/workflows/on_pull_request.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/on_pull_request.yml b/.github/workflows/on_pull_request.yml index a103bf6..65e09ab 100644 --- a/.github/workflows/on_pull_request.yml +++ b/.github/workflows/on_pull_request.yml @@ -1,5 +1,9 @@ name: "Check PR is ready for merge" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: pull_request: branches: