Skip to content

Commit f0bad86

Browse files
committed
Try excluding local files from links check
1 parent 6a2b716 commit f0bad86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/links-cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Check links
2121
uses: lycheeverse/lychee-action@v2
2222
with:
23-
args: 'https://canwe.dev'
23+
args: --exclude '^/' 'https://canwe.dev'
2424
fail: false
2525
env:
2626
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Check links
1818
uses: lycheeverse/lychee-action@v2
1919
with:
20-
args: './**/*.html'
20+
args: --exclude '^/' './**/*.html'
2121
fail: false
2222
env:
2323
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)