From fed6dc019b10440e807777cef78ff2fe9ef7a1a2 Mon Sep 17 00:00:00 2001 From: John Carmack Date: Sat, 5 Sep 2026 15:02:17 -0700 Subject: [PATCH] ci: cancel superseded rust-ci runs on pull requests (#4555) --- .github/workflows/rust-ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust-ci.yaml b/.github/workflows/rust-ci.yaml index 4885b51f4..857337e6d 100644 --- a/.github/workflows/rust-ci.yaml +++ b/.github/workflows/rust-ci.yaml @@ -7,6 +7,10 @@ on: branches: [ main ] workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + defaults: run: working-directory: rustutils/