Skip to content

Commit

Permalink
add link checker (github#585)
Browse files Browse the repository at this point in the history
* add link checker

* add config file

* continue on error

Co-authored-by: Lana Brindley <github@lanabrindley.com>
  • Loading branch information
jacobprall and Loquacity authored Nov 8, 2021
1 parent 5440e12 commit e6c3167
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Check Markdown links

on: push

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: 'mlc_config.json'
continue-on-error: true
13 changes: 13 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"ignorePatterns": [
{
"pattern": "^/"
}
],
"replacementPatterns": [
{
"pattern": ":currentVersion:",
"replacement": "latest"
}
]
}

0 comments on commit e6c3167

Please sign in to comment.