From ca9f18d83c9a5fa06cd121b149de43cb2efbbdec Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 11 Mar 2025 15:57:22 +0000 Subject: [PATCH] Build/Test Tools: Allow upgrade tests for multiple versions. This adds the `new-version` input to the concurrency group name to prevent manually dispatched workflow runs from cancelling each other when different versions are being tested. See #62221. git-svn-id: https://develop.svn.wordpress.org/trunk@59973 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/upgrade-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upgrade-testing.yml b/.github/workflows/upgrade-testing.yml index a8b4a9b1c2..8e7a92c60f 100644 --- a/.github/workflows/upgrade-testing.yml +++ b/.github/workflows/upgrade-testing.yml @@ -27,7 +27,7 @@ on: concurrency: # The concurrency group contains the workflow name and the branch name for pull requests # or the commit hash for any other events. - group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + group: ${{ github.workflow }}-${{ inputs.new-version || github.event_name == 'pull_request' && github.head_ref || github.sha }} cancel-in-progress: true # Disable permissions for all available scopes by default.