File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ name: schema-test
7
7
# This workflow
8
8
# - converts the YAML metaschemas to JSON
9
9
# - runs the npm test script to validate passing and failing testcases for the metaschemas
10
- # - checks in changed JSON files
11
10
#
12
11
13
12
# run this on push to any branch and creation of pull-requests
14
13
on :
15
14
push : {}
15
+ pull_request : {}
16
16
workflow_dispatch : {}
17
17
18
18
jobs :
39
39
40
40
- name : Run tests
41
41
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