From fab25d4616a8cfa23ae93f56526cfae26810d2c1 Mon Sep 17 00:00:00 2001 From: Ryan Mulhall Date: Mon, 22 Jul 2024 09:48:32 -0400 Subject: [PATCH] add concurrency section --- .github/workflows/pw_am5_intel.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pw_am5_intel.yaml b/.github/workflows/pw_am5_intel.yaml index be1bff3bd..9971f8ffb 100644 --- a/.github/workflows/pw_am5_intel.yaml +++ b/.github/workflows/pw_am5_intel.yaml @@ -6,6 +6,12 @@ on: - '*beta*' pull_request: workflow_dispatch: + +# cancel running jobs if theres a newer push +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: compile_AM5: runs-on: [self-hosted, pw-platform]