Skip to content

Commit f22f4c8

Browse files
committed
simplify
1 parent d72fffb commit f22f4c8

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.github/workflows/reusable-link-check.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,16 @@ on:
44
workflow_call:
55

66
jobs:
7-
check-links-github:
7+
check-links:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
1111

12-
# need to rate limit requests to github.com in order to avoid 429s
1312
- uses: lycheeverse/lychee-action@v2
1413
with:
14+
# TODO (trask) remove --accept once https://github.com/lycheeverse/lychee/pull/1573 is fixed
1515
args: >
1616
--include-fragments
1717
--exclude-path CHANGELOG.md
18-
--include github.com
19-
-vvv
20-
--max-concurrency 5
21-
--max-retries 5
22-
--retry-wait-time 5000
23-
.
24-
25-
check-links-other:
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: actions/checkout@v4
29-
30-
- uses: lycheeverse/lychee-action@v2
31-
with:
32-
args: >
33-
--include-fragments
34-
--exclude-path CHANGELOG.md
35-
--exclude github.com
36-
-vvv
37-
--max-concurrency 1
18+
--accept 100..=103,200..=299,429
3819
.

0 commit comments

Comments
 (0)