Skip to content

Commit

Permalink
Merge pull request #6853 from killianmuldoon/actions/split-md-link-ch…
Browse files Browse the repository at this point in the history
…ecker

🌱 Split MD link checker into periodic and PR focused
  • Loading branch information
k8s-ci-robot authored Jul 7, 2022
2 parents 3d51907 + 9ef2afd commit 03f62b1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check Markdown links
name: Check PR Markdown links

on:
pull_request:
Expand All @@ -19,3 +19,4 @@ jobs:
with:
use-quiet-mode: 'yes'
config-file: .markdownlinkcheck.json
check-modified-files-only: 'yes'
19 changes: 19 additions & 0 deletions .github/workflows/lint-docs-weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Weekly check all Markdown links

on:
schedule:
- cron: "0 12 * * 4"

# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}

jobs:
markdown-link-check:
name: Broken Links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: .markdownlinkcheck.json

0 comments on commit 03f62b1

Please sign in to comment.