From 1fbbfa7a51a3352b95e146a8b5f08f4c83042a28 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 61de915e4..65a4b9cb8 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