mirror of
https://github.com/redis/agent-skills.git
synced 2026-09-19 01:25:14 +08:00
bc64894ce3
* 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.