Skip to content

Commit

Permalink
Chore: Check for broken links in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Nov 16, 2021
1 parent f4a607f commit 58a5a79
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/markdown-link-check-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"ignorePatterns": [
{
"pattern": "^https://github.com/lmc-eu/cookie-consent-manager/(pull|issues|commit)/"
},
{
"pattern": "^https://github.com/projects/lmc-eu/repos/cookie-consent-manager/"
},
{
"pattern": "^http://localhost"
}
]
}
19 changes: 19 additions & 0 deletions .github/workflows/markdown-link-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Markdown Link Check

on:
push:
branches-ignore:
- main
schedule:
- cron: '0 9 * * *' # every day at 9:00

jobs:
markdown-link-check:
name: "Markdown link check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
config-file: '.github/markdown-link-check-config.json'

0 comments on commit 58a5a79

Please sign in to comment.