ci: add concurrency cancel-in-progress to ci.yml #516

Merged
guettlibot merged 1 commits from refs/pull/516/head into main 2026-06-07 00:40:14 +00:00
guettlibot commented 2026-06-07 00:32:51 +00:00 (Migrated from codeberg.org)

Summary

  • Adds a block to with
  • When a new commit is pushed to a branch, any already-queued or in-progress CI run for that same branch is cancelled immediately
  • Reduces wait time for the most recent commit from O(n × job_duration) to ~0

Verification

Change is 2 lines of YAML; no code logic changed. The group key scopes cancellation per branch so concurrent runs on different branches/PRs are unaffected.

Closes #497

🤖 Generated with Claude Code

## Summary - Adds a block to with - When a new commit is pushed to a branch, any already-queued or in-progress CI run for that same branch is cancelled immediately - Reduces wait time for the most recent commit from O(n × job_duration) to ~0 ## Verification Change is 2 lines of YAML; no code logic changed. The group key scopes cancellation per branch so concurrent runs on different branches/PRs are unaffected. Closes #497 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.