Skip to content

Commit 0dbd567

Browse files
committed
Lint only links from touched files
1 parent f731674 commit 0dbd567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
npm install -g @umbrelladocs/linkspector
2727
linkspector --version
28-
linkspector check -c .github/linkspector-config.yml
28+
linkspector --files $(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -E '\.md$')
2929
- name: Install Zola
3030
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
3131
- run: ./zola --version

0 commit comments

Comments
 (0)