From 35b4641bf91ed932919d543bfb7deba599174adb Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 21 Nov 2023 09:40:27 +0100 Subject: [PATCH] Add a concurrency group to try jobs (#30756) This should prevent multiple `parse-comment` jobs from running at the same time for the same pull request, reducing the number of duplicate builds when multiple labels are applied. --- .github/workflows/try.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/try.yml b/.github/workflows/try.yml index 9ced3989a99..3644fcbbfc4 100644 --- a/.github/workflows/try.yml +++ b/.github/workflows/try.yml @@ -8,6 +8,8 @@ jobs: parse-comment: name: Trigger Try runs-on: ubuntu-latest + concurrency: + group: try-${{ github.event.number }} outputs: configuration: ${{ steps.configuration.outputs.result }} steps: