From b78c7b77e00fef271c64e811373a77f18f9f57e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Fri, 8 May 2026 02:33:39 +0200 Subject: [PATCH] ci: validate openspec specs and changes Adds a fast standalone job that runs `openspec validate --all --strict` via npx, gating PRs on spec/change well-formedness. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3240a80..d3cbff7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,16 @@ jobs: - uses: actions/checkout@v6 - run: bash scripts/check-dockerfiles.sh + openspec: + name: OpenSpec Validate + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 + with: + node-version: 24 + - run: npx -y openspec@1.2.0 validate --all --strict --no-interactive + typecheck: name: Typecheck runs-on: ubuntu-latest