Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

docs(ci): update npm-update workflow README for dynamic matrix and per-dir branches (#5099)

LearningCircuita435fe4f6b77
diff --git a/.github/workflows/README.md b/.github/workflows/README.md
index 16e09ca77f..ee9bf919a3 100644
--- a/.github/workflows/README.md
+++ b/.github/workflows/README.md
@@ -19,14 +19,21 @@ Automatically updates NPM dependencies across all package.json files in the proj
2. **Security Fixes**: Automatically fixes moderate+ severity vulnerabilities with `npm audit fix`
3. **Dependency Updates**: Updates all dependencies to latest compatible versions with `npm update`
4. **Testing**: Runs relevant tests to ensure updates don't break functionality
-5. **Pull Request**: Creates automated PR with all changes
+5. **Pull Request**: Creates one automated PR per directory with changes
### Directories Managed
-- `/` - Main web dependencies (Vite, Bootstrap, etc.)
-- `/tests/ui_tests` - UI test dependencies (Puppeteer)
+Discovered dynamically: a `discover` job finds every directory containing a
+`package-lock.json` (excluding `node_modules` and root-level dot-dirs) and
+fans out one matrix leg per directory. By convention the repo root builds
+(`npm run build`), `tests/` directories skip tests in CI, and any other
+lockfile directory fails the discover job until explicitly classified in
+the workflow.
### Branch Strategy
-- Creates branch: `update-npm-dependencies-{run_number}`
+- Creates branch: `update-npm-dependencies-{run_number}-{directory-slug}`,
+ one per changed directory (`.` → `root`, `/` → `-`; e.g.
+ `update-npm-dependencies-42-tests-ui_tests`) so concurrent matrix legs
+ never race on a shared ref
- Targets: `main` branch
- Labels: `maintenance`
- Reviewers: `djpetti,HashedViking,LearningCircuit`