Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(ci): cancel redundant CI runs on PR updates (#1055)

Maximilian Rooscc31d3d52ba5
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 63cf8efcf..aab05ed30 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -12,6 +12,10 @@ on:
branches: [ main ]
workflow_dispatch:
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
env:
CARGO_TERM_COLOR: always
# Authenticate lychee requests to GitHub to avoid rate limiting