From 982d5defb3acdcb3cd67286788d377179a79e313 Mon Sep 17 00:00:00 2001 From: Muse Sweep Date: Sun, 18 Oct 2026 13:55:50 -0500 Subject: [PATCH] ci: key auto-assign concurrency group by issue/PR number (#302) --- .github/workflows/auto-assign.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index c04e09e773..18825d815f 100755 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -5,7 +5,11 @@ on: pull_request_target: types: [opened, reopened, synchronize] concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + # Keyed by the target, not github.ref: for issues and pull_request_target + # events github.ref is always the default/base branch, so a ref-keyed group + # is one repo-wide group and a burst of opened events silently replaces the + # pending run (queue: single is the default), dropping its assignment (#302). + group: ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number }} cancel-in-progress: false jobs: