File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change @@ -11,29 +11,33 @@ jobs:
1111 test :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
15- - name : json-syntax-check
14+ - name : Checkout
15+ uses : actions/checkout@v2
16+
17+ - name : Check JSON syntax
1618 uses : limitusus/json-syntax-check@v1
1719 with :
1820 pattern : " \\ .json$"
19- - if : success()
20- name : update success status
21+
22+ - name : Update success status
23+ if : success()
2124 run : |
2225 gh api \
2326 --method POST \
2427 -H "Accept: application/vnd.github+json" \
25- /repos/PokemonAutomation/ServerConfigs-PA-SHA /statuses/${{ github.sha }} \
28+ /repos/${{ github.repository }} /statuses/${{ github.sha }} \
2629 -f state='success' \
2730 -f context='json' \
2831 env :
2932 GH_TOKEN : ${{ github.token }}
30- - if : failure()
31- name : update failed status
33+
34+ - name : update failed status
35+ if : failure()
3236 run : |
3337 gh api \
3438 --method POST \
3539 -H "Accept: application/vnd.github+json" \
36- /repos/PokemonAutomation/ServerConfigs-PA-SHA /statuses/${{ github.sha }} \
40+ /repos/${{ github.repository }} /statuses/${{ github.sha }} \
3741 -f state='failure' \
3842 -f context='json' \
3943 env :
You can’t perform that action at this time.
0 commit comments