From 1c349e5858b5f24120e423e9b7e73f6e553df7ce Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Tue, 1 Sep 2026 10:35:31 +0100 Subject: [PATCH] ci(maestro): cancel superseded runs Pushes queued a new run without stopping the old one. Group by ref and cancel in-progress, except on main where runs finish. Co-Authored-By: Claude Opus 5 (1M context) --- .gitea/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 978d2b2..fda3cdb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,6 +7,10 @@ on: - 'linear/**' pull_request: +concurrency: + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: rust: runs-on: ubuntu-latest