mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
ci: discover portal CLIs dynamically so fork-added portals get checked (#310)
The cli-checks matrix hardcoded the six shipped portals, so a CLI scaffolded by /add-portal in a fork shipped typecheck and test scripts that fork CI never ran - while security_guards.py already globs .agents/**/package.json and covers new portals automatically. A discover-clis job now emits the matrix from .agents/skills/*/cli/package.json; on upstream it resolves to the same six portals, and a fork-added portal joins the matrix with no workflow edit. /add-portal's Register step now says so.
This commit is contained in:
@@ -127,6 +127,7 @@ Do not proceed to Step 5 until search, detail, and tests all pass.
|
||||
```
|
||||
(Skip if the skill is zero-dependency and they don't care about typecheck types.)
|
||||
3. Note that the skill auto-triggers from its `SKILL.md` description - no other wiring is needed.
|
||||
4. CI coverage is also automatic: the `cli-checks` job discovers every `.agents/skills/*/cli/package.json`, so the new CLI's `typecheck` and `test` scripts run on every push to the fork without editing the workflow.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user