Skip to content

Commit 10e21b2

Browse files
committed
Only run markdown-link-check when markdown files are updated
1 parent 669a7e6 commit 10e21b2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: Check Markdown links
22

33
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
4+
push:
5+
branches: [ "main" ]
6+
paths: "**.md"
7+
pull_request:
8+
branches: [ "main" ]
9+
paths: "**.md"
810

911
jobs:
1012
markdown-link-check:

0 commit comments

Comments
 (0)