We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a70cf4 commit 9cccbdeCopy full SHA for 9cccbde
1 file changed
.github/workflows/lint.yml
@@ -100,3 +100,20 @@ jobs:
100
path: node_modules
101
key: node-modules-${{ hashFiles('package-lock.json') }}
102
- run: npm run typecheck
103
+
104
+ schema-check:
105
+ runs-on: ubuntu-latest
106
+ steps:
107
+ - uses: actions/checkout@v6
108
+ with:
109
+ fetch-depth: 0
110
+ - name: Reject schema changes outside release PRs
111
+ run: |
112
+ if git diff --name-only origin/main...HEAD | grep -q '^schemas/'; then
113
+ echo ""
114
+ echo "❌ schemas/ must not be modified directly."
115
+ echo "The JSON schema is served live from the repo — changes are released automatically."
116
+ echo "Schema regeneration happens during the release workflow."
117
+ exit 1
118
+ fi
119
+ echo "✓ No schema changes detected"
0 commit comments