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 <noreply@anthropic.com>
This commit is contained in:
jackos1998andClaude Opus 5.5 committed 2026-11-26 20:33:17 +00:00
1 parent 6220289079
commit 6abf3a1f3a
1 file changed
+5
+5
View File
@@ -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