From e3c6be5e29afd32fe570b743c82e6518a0bd2a40 Mon Sep 17 00:00:00 2001 From: TSRBerry <20988865+TSRBerry@users.noreply.github.com> Date: Thu, 1 Jun 2023 09:42:49 +0200 Subject: [PATCH] Only run one workflow for a PR at a time (#5137) --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d379437b2c..97db387f0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,10 @@ on: - '*.yml' - 'README.md' +concurrency: + group: pr-checks-${{ github.event.number }} + cancel-in-progress: true + env: POWERSHELL_TELEMETRY_OPTOUT: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1