Skip to content

Commit 7532592

Browse files
committed
Add check-in step
1 parent 33c0340 commit 7532592

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/schema-tests.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,13 @@ jobs:
4242
- name: Run tests
4343
run: npm run test
4444

45+
- name: Check in changed JSON files
46+
run: |
47+
git config user.name ${GITHUB_ACTOR}
48+
git config user.email ${PUSHER_EMAIL}
49+
git add schemas/**/*.json
50+
git diff-index --quiet HEAD schemas/**/*.json || git commit -m "converted JSON metaschemas"
51+
git push
52+
env:
53+
CI: true
54+
PUSHER_EMAIL: ${{ github.event.pusher.email }}

0 commit comments

Comments
 (0)