Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

ci: let every push to main finish instead of cancelling the previous run (#2826)

Raghav Chamadiya69dea34cce8c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0daf39ecb..167563bde 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,8 +7,10 @@ on:
branches: [main]
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # A new push to a pull request replaces its run. Pushes get one group per
+ # commit, so every merge finishes and uploads its coverage.
+ group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
# ---------------------------------------------------------------------------