Skip to content

Commit ce66f89

Browse files
committed
ci: use .lycheeignore in current pr rather than main branch and update .lycheeignore file
Signed-off-by: Bird <aflybird0@gmail.com>
1 parent 1c2ac7b commit ce66f89

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/link-pr.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,14 @@ on:
55
branches: [ main ]
66
paths:
77
- '**.md'
8+
- '.lycheeignore'
89

910
jobs:
1011
linkChecker:
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v3
1415

15-
- name: Download Exclude Path
16-
run: |
17-
curl https://raw.githubusercontent.com/devstream-io/devstream/main/.lycheeignore --output .lycheeignore
18-
1916
# replace site base url to build MkDocs in local
2017
- name: Replace Base URL
2118
run: |

.lycheeignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
https://github.com/.*/pull/[0-9]+.*
22
https://github.com/.*/issues/[0-9]+.*
33
https://fonts.gstatic.com/
4-
.*${.*}.*
4+
.*\$\{.*\}.*
5+
.*ssh.*
56
.*foo.*
67
.*bar.*
78
.*xxx.*

0 commit comments

Comments
 (0)