From b34b834378adc590a771cccd44b9fb0b953cdca2 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Wed, 8 Jul 2026 12:21:39 -0400 Subject: [PATCH] Fixed concurrency in labels.yml GitHub Action. Under pull_request_target, github.ref is always main. So, any edit on any PR could cause another PR's label workflow to quit. Follow-up to 5244ecbd2259365ecd6bbf96747285a673b2ee69. --- .github/workflows/labels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 11417b9e72bc..de92fd998808 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -7,7 +7,8 @@ on: - main concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + # Avoid github.ref, which is always main for the pull_request_target trigger. + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} cancel-in-progress: true permissions: