Skip to content

Commit c9c43ad

Browse files
committed
ci: fix lychee link checker
1 parent 21ac1e6 commit c9c43ad

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/link_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515

1616
- name: 🔗 Check Links
17-
uses: lycheeverse/lychee-action@v1.10.0
17+
uses: lycheeverse/lychee-action@v2
1818
with:
19-
fail: true
19+
jobSummary: true
2020
args: --config .github/workflows/lychee.toml './**/*.md'

.github/workflows/lychee.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,13 @@ include_verbatim = false
8888
glob_ignore_case = false
8989

9090
# Exclude URLs and mail addresses from checking (supports regex).
91-
#exclude = [ '.*\.github.com\.*' ]
9291
# receiving forbidden but valid link, receiving timeout but valid link
93-
exclude = ['https://opensource.org/licenses/MIT', 'https://twitter.com/pestphp', '^https://laracasts.com/series/(pest-driven-laravel|pest-from-scratch)$']
94-
92+
exclude = [
93+
'https://opensource.org/licenses/MIT',
94+
'https://twitter.com/pestphp',
95+
'^https://laracasts.com/series/(pest-driven-laravel|pest-from-scratch)$',
96+
'^https://www.linkedin.com/learning/.*$',
97+
]
9598

9699
# Exclude these filesystem paths from getting checked.
97100
#exclude_path = ["file/path/to/Ignore", "./other/file/path/to/Ignore"]

0 commit comments

Comments
 (0)