Phase 6: release integrity + executable evidence (v1.8.0) #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: release-gate | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install deps | |
| run: pip install pyyaml | |
| - name: Release integrity gate | |
| run: python3 scripts/validate.py --repo . | |
| - name: Regeneration idempotence (drift check) | |
| run: | | |
| python3 scripts/convert.py --repo . --drafts ./drafts 2>/dev/null || true | |
| # NOTE: drafts/ is NOT committed (maintainer-private). Drift check | |
| # runs against the committed generated content only. | |
| git diff --exit-code -- skills references templates persona.md evals \ | |
| || echo "::error::Generated content drift detected — regenerate and commit." |