From 2f00a1e7374dc8b8057ceeb4263edd51fc1d267b Mon Sep 17 00:00:00 2001 From: Jamie <2119834+jamieQ@users.noreply.github.com> Date: Tue, 25 Aug 2026 16:17:08 -0500 Subject: [PATCH] ci(warden): Cancel superseded PR runs Group Warden workflow executions by pull request so a new commit cancels analysis for the previous head. Co-Authored-By: Codex --- .github/workflows/warden.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/warden.yml b/.github/workflows/warden.yml index 8eb2b2c..26c71bb 100644 --- a/.github/workflows/warden.yml +++ b/.github/workflows/warden.yml @@ -1,9 +1,14 @@ name: Warden +# Update the concurrency group below if this workflow adds non-PR triggers. on: pull_request: types: [opened, synchronize, reopened] +concurrency: + group: ${{ github.workflow }}-pr-${{ github.event.pull_request.number }} + cancel-in-progress: true + jobs: warden: if: github.event.pull_request.head.repo.full_name == github.repository