forgejo-mcp/scripts/ci
Christoph Görn cb6f657644
ci: 🚀 enforce check-demos in PaC and pre-commit
Run the anchored-demo checker automatically instead of relying on
authors to invoke `just check-demos` by hand.

- rewrite checker in POSIX sh (no bashisms) so one script serves local
  shells, the pre-commit hook, and the minimal release-tools CI image;
  shellcheck-clean, verified under sh
- .tekton/tasks/openspec-validate.yaml: add a check-demos step to the
  existing openspec-validate task (same image/workspace/trigger)
- .tekton/openspec-validate-{pr,push}.yaml: also fire when the checker
  script changes
- .pre-commit-config.yaml: local check-demos hook, scoped to
  openspec spec/demo files and the script itself
2026-06-02 00:16:07 +02:00
..
check-spec-demo-anchors.sh ci: 🚀 enforce check-demos in PaC and pre-commit 2026-06-02 00:16:07 +02:00