Files
Vasko Atanasov bc64894ce3 fix(validate): fail loudly instead of silently skipping validation (#39)
* fix(validate): fail structure validation when --all finds no skills

`--all` walking to zero skill directories printed "No skill directories found."
and exited 0, so a broken walk reads as a clean pass. The check then reports
success having validated nothing, which is worse than failing: CI goes green
over an empty result.

`--changed` legitimately resolves to nothing when a PR touches no skill, so it
keeps the exit-0 path.

* ci: run validation on every pull request, not only those targeting main

Restricting the pull_request trigger to branches: [main] means a PR stacked on
another branch gets no checks at all, which reads as passing rather than as
unverified.
2026-08-11 15:37:46 +03:00
..