From 4170ae3315e6ec35b0e58c3f20893be6f2810ef2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 29 Oct 2026 00:45:17 +0000 Subject: [PATCH] ci: add concurrency to PR/push CI workflows Cancel in-progress CI and Smoke runs for the same workflow and ref so superseded jobs do not consume extra runners. Co-authored-by: Jonathan Borgwing --- .github/workflows/ci.yml | 4 ++++ .github/workflows/smoke.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60e78fe..d77b962 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: branches: [ main ] pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build-and-smoke: runs-on: ubuntu-latest diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 2c468e0..dcca1a8 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -4,6 +4,10 @@ on: push: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: smoke: runs-on: ubuntu-latest