File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ jobs:
1616
1717 - uses : jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1
1818
19- - name : Link check - relative links (all files)
19+ - name : Link check for pull requests
2020 if : github.event_name == 'pull_request'
2121 env :
2222 GITHUB_TOKEN : ${{ github.token }}
23- run : mise run lint:local-links
23+ run : |
24+ mise run lint:local-links
25+ mise run lint:links-in-modified-files --base origin/${{ github.base_ref }} --head ${{ github.event.pull_request.head.sha }} --event pull_request
2426
25- - name : Link check (modified files only)
27+ - name : Link check for pushes and scheduled workflows
28+ if : github.event_name != 'pull_request'
2629 env :
2730 GITHUB_TOKEN : ${{ github.token }}
28- run : mise run lint:links-in-modified-files --base origin/${{ github.base_ref }} --head ${{ github.event.pull_request.head.sha }} --event ${{ github.event_name }}
31+ run : mise run lint:links
You can’t perform that action at this time.
0 commit comments