File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed
Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v6
1616
1717 - name : Check JSON syntax
18- uses : limitusus/json-syntax-check@v1
18+ uses : limitusus/json-syntax-check@v2
1919 with :
2020 pattern : " \\ .json$"
21-
22- - name : Update success status
23- if : success()
24- run : |
25- gh api \
26- --method POST \
27- -H "Accept: application/vnd.github+json" \
28- /repos/${{ github.repository }}/statuses/${{ github.sha }} \
29- -f state='success' \
30- -f context='json' \
31- env :
32- GH_TOKEN : ${{ github.token }}
33-
34- - name : Update failed status
35- if : failure()
36- run : |
37- gh api \
38- --method POST \
39- -H "Accept: application/vnd.github+json" \
40- /repos/${{ github.repository }}/statuses/${{ github.sha }} \
41- -f state='failure' \
42- -f context='json' \
43- env :
44- GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments