From f81a6ea3bd4760d580cfde6617cc1d19d0f000a2 Mon Sep 17 00:00:00 2001 From: Grok Bot agent 5 Date: Thu, 15 Oct 2026 12:13:58 -0500 Subject: [PATCH] ci(downstream-gate): cancel superseded pull_request runs only --- .github/workflows/downstream-gate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/downstream-gate.yml b/.github/workflows/downstream-gate.yml index f6b813427..f05bbec84 100644 --- a/.github/workflows/downstream-gate.yml +++ b/.github/workflows/downstream-gate.yml @@ -10,6 +10,9 @@ name: Downstream hard-gate exact replay required: true permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.run_id }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} defaults: run: shell: bash