Skip to content

Commit 03f62b1

Browse files
authored
Merge pull request #6853 from killianmuldoon/actions/split-md-link-checker
🌱 Split MD link checker into periodic and PR focused
2 parents 3d51907 + 9ef2afd commit 03f62b1

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/lint-docs.yaml renamed to .github/workflows/lint-docs-pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check Markdown links
1+
name: Check PR Markdown links
22

33
on:
44
pull_request:
@@ -19,3 +19,4 @@ jobs:
1919
with:
2020
use-quiet-mode: 'yes'
2121
config-file: .markdownlinkcheck.json
22+
check-modified-files-only: 'yes'
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Weekly check all Markdown links
2+
3+
on:
4+
schedule:
5+
- cron: "0 12 * * 4"
6+
7+
# Remove all permissions from GITHUB_TOKEN except metadata.
8+
permissions: {}
9+
10+
jobs:
11+
markdown-link-check:
12+
name: Broken Links
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
17+
with:
18+
use-quiet-mode: 'yes'
19+
config-file: .markdownlinkcheck.json

0 commit comments

Comments
 (0)