File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ name: schema-test
77# This workflow
88# - converts the YAML metaschemas to JSON
99# - runs the npm test script to validate passing and failing testcases for the metaschemas
10- # - checks in changed JSON files
1110#
1211
1312# run this on push to any branch and creation of pull-requests
1413on :
1514 push : {}
15+ pull_request : {}
1616 workflow_dispatch : {}
1717
1818jobs :
3939
4040 - name : Run tests
4141 run : npm run test
42-
43- - name : Check in changed JSON files
44- run : |
45- git config user.name ${GITHUB_ACTOR}
46- git config user.email ${PUSHER_EMAIL}
47- git add schemas/**/*.json
48- git diff-index --quiet HEAD schemas/**/*.json || git commit -m "converted JSON metaschemas"
49- git push
50- env :
51- CI : true
52- PUSHER_EMAIL : ${{ github.event.pusher.email }}
You can’t perform that action at this time.
0 commit comments