File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ jobs:
1818 timeout : 90
1919 script : |
2020 ./scripts/lint_urls.sh $(
21- [ "${{ github.event_name }}" = "pull_request" ] \
22- && git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }} \
23- || [ "${{ github.event_name }}" = "push" ] \
24- && git diff --name-only ${{ github.event.before }}...${{ github.sha }}
21+ { [ "${{ github.event_name }}" = "pull_request" ] \
22+ && git diff --name-only "${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}"; } \
23+ || \
24+ { [ "${{ github.event_name }}" = "push" ] \
25+ && git diff --name-only "${{ github.event.before }}...${{ github.sha }}"; }
2526 )
2627
2728 lint-xrefs :
3637 timeout : 90
3738 script : |
3839 ./scripts/lint_xrefs.sh $(
39- [ "${{ github.event_name }}" = "pull_request" ] \
40- && git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }} \
41- || [ "${{ github.event_name }}" = "push" ] \
42- && git diff --name-only ${{ github.event.before }}...${{ github.sha }}
40+ { [ "${{ github.event_name }}" = "pull_request" ] \
41+ && git diff --name-only "${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}"; } \
42+ || \
43+ { [ "${{ github.event_name }}" = "push" ] \
44+ && git diff --name-only "${{ github.event.before }}...${{ github.sha }}"; }
4345 )
You can’t perform that action at this time.
0 commit comments