From 3938549a14bf199c3fd9355fa3998a0b78ddcb53 Mon Sep 17 00:00:00 2001 From: Steve Soltys Date: Sun, 8 Oct 2023 14:18:12 -0400 Subject: [PATCH] Cancel previous GitHub actions runs when PR updated --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61de915e..65a4b9cb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,6 +3,10 @@ name: Run instrumentation tests on: push: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: instrumentation_tests: runs-on: macos-11