From b13cd52a0e6ce4d296a159a88c270ab21bc5f83d Mon Sep 17 00:00:00 2001 From: Kadin Bullock Date: Sat, 9 May 2026 13:04:53 -0600 Subject: [PATCH] ci: add skill-ref drift-detection job Catches forgotten regen of skill reference files on PRs that add or rename flags. Job runs after lint + test and is gated before publish. Closes #44 Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa4681b..6580509 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,8 +31,20 @@ jobs: - run: pip install -e ".[dev]" - run: pytest - publish: + skill-ref-drift: needs: [lint, test] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install -e ".[dev]" + - run: wbox internals regen-skill-refs + - run: git diff --exit-code -- src/wealthbox_tools/skills/wealthbox-crm/references/ + + publish: + needs: [lint, test, skill-ref-drift] if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest permissions: