Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

ci: do not cancel main's CI runs, so the status badge stops flashing "failing"

xerj-org255a4ea54a1d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 348428501..53e1888fd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,10 +10,13 @@ on:
permissions:
contents: read
-# Cancel superseded runs on the same ref (e.g. rapid pushes to a PR branch).
+# Cancel superseded runs on a PR branch (rapid pushes), but NEVER on `main`:
+# every commit that lands on the default branch must run CI to completion, or a
+# later merge cancels the earlier merge's run and the branch's status badge shows
+# that cancellation as "failing" even though nothing broke.
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"