From cc38f152bed4011c407884d92ebc04e6f8748b1c Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Thu, 26 Nov 2026 20:33:17 +0000 Subject: [PATCH] ci: Cancel runs superseded by a newer push A run builds every system for an hour or more, and only the newest commit on `master` needs building and caching. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 07b523e..0617aff 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -4,6 +4,11 @@ on: push: branches: [master] +# Only the newest commit is worth building and caching +concurrency: + group: ci + cancel-in-progress: true + jobs: check: name: Check, build and cache nixfiles