From 8d7a428b107b193f909ecc7b7e26fd7dc78b8505 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 27 Sep 2026 21:20:48 +0000 Subject: [PATCH] ci-validation: keep push and pull_request runs from cancelling each other A branch with an open PR sends a push and a pull_request event for the same commit. Both landed in one concurrency group, so the second run cancelled the first and its tracker reported the cancelled job as a failure. The event name now separates them; newer runs of the same event still cancel older ones. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QwYWVPse8spRrfMMcuTJPv --- .github/workflows/ci-validation.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-validation.yml b/.github/workflows/ci-validation.yml index 4ffbfa7c0..3a28f068d 100644 --- a/.github/workflows/ci-validation.yml +++ b/.github/workflows/ci-validation.yml @@ -86,8 +86,12 @@ on: permissions: contents: read +# The event name is part of the group: a branch with an open pull request delivers a push and a +# pull_request event for the same commit, and without it the second run cancelled the first, so +# the tracker watching the first reported a cancelled job as a failure. A newer push still cancels +# the older push run, and a newer pull_request update the older one. concurrency: - group: ci-validation-${{ inputs.target_repository_name }}-${{ inputs.target_ref_name || inputs.target_sha }}-${{ inputs.source_workflow_path }} + group: ci-validation-${{ inputs.target_repository_name }}-${{ inputs.target_ref_name || inputs.target_sha }}-${{ inputs.source_workflow_path }}-${{ inputs.target_event_name }} cancel-in-progress: true jobs: