From 0abb30cfa18d0235da006e1164b7d135d7de97cb Mon Sep 17 00:00:00 2001 From: Leo Farias Date: Fri, 11 Sep 2026 11:37:49 -0400 Subject: [PATCH] ci: cancel superseded pull request runs --- .github/workflows/pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 16bebf8c..23e5c593 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -7,6 +7,10 @@ on: - edited - synchronize +concurrency: + group: pr-${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: ${{ github.event_name == 'pull_request_target' }} + jobs: main: name: Validate PR title