Skip to content

Commit 7f41f8d

Browse files
Update Broken-links-checker-final.yml
1 parent 26343ad commit 7f41f8d

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/Broken-links-checker-final.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
echo "$files" >> $GITHUB_OUTPUT
2929
echo "EOF" >> $GITHUB_OUTPUT
3030
31-
- name: Run Lychee on Changed Markdown Files (PR)
31+
- name: Run Lychee on Changed Files (PR)
3232
if: github.event_name == 'pull_request' && steps.changed-files.outputs.md_files != ''
3333
uses: lycheeverse/[email protected]
3434
with:
3535
args: >
36-
--verbose --no-progress --exclude-mail --exclude ^https?://
36+
--verbose --no-progress --exclude-mail
37+
--exclude ^https?://
3738
--output lychee/pr.out
3839
${{ steps.changed-files.outputs.md_files }}
3940
env:
@@ -66,7 +67,8 @@ jobs:
6667
uses: lycheeverse/[email protected]
6768
with:
6869
args: >
69-
--verbose --no-progress --exclude-mail --exclude ^https?://
70+
--verbose --no-progress --exclude-mail
71+
--exclude ^https?://
7072
sanitized_md/**/*.md
7173
env:
7274
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -77,7 +79,8 @@ jobs:
7779
uses: lycheeverse/[email protected]
7880
with:
7981
args: >
80-
--verbose --no-progress --exclude-mail --exclude ^https?://
82+
--verbose --no-progress --exclude-mail
83+
--exclude ^https?://
8184
--output lychee/manual.out
8285
'**/*.md'
8386
env:
@@ -105,13 +108,14 @@ jobs:
105108
fi
106109
done
107110
108-
- name: Re-check Sanitized Affected Files (Manual)
111+
- name: Re-run Lychee on Sanitized Affected Files (Manual)
109112
if: steps.affected-manual.outputs.affected_files != ''
110113
uses: lycheeverse/[email protected]
111114
with:
112115
args: >
113-
--verbose --no-progress --exclude-mail --exclude ^https?://
116+
--verbose --no-progress --exclude-mail
117+
--exclude ^https?://
118+
--output lychee/manual-cleaned.out
114119
sanitized_md/**/*.md
115120
env:
116121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117-

0 commit comments

Comments
 (0)