From 944ab726e7848c99b2e3fd6bfcabbc6d66e83f91 Mon Sep 17 00:00:00 2001 From: Chris Huber Date: Mon, 23 Mar 2026 19:58:47 +0000 Subject: [PATCH] ci: add concurrency group to cancel stale PR runs Cancels in-progress CI when a new push arrives on the same PR. Non-PR events (push to main, tags) are serialized but not cancelled. --- .github/workflows/homeboy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/homeboy.yml b/.github/workflows/homeboy.yml index 230aa3080..4558a4a09 100644 --- a/.github/workflows/homeboy.yml +++ b/.github/workflows/homeboy.yml @@ -8,6 +8,10 @@ on: tags: ['v*'] workflow_dispatch: +concurrency: + group: homeboy-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + permissions: contents: write pull-requests: write