Skip to content

Commit

Permalink
[CI] add a job to check for broken links
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Kieske <[email protected]>
  • Loading branch information
artificial-intelligence committed Dec 8, 2023
1 parent c763d2b commit 17030ba
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check Markdown links
on:
push:

jobs:
markdown-link-check:
name: Markdown Link Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: .github/workflows/markdown-link-check.json
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
7 changes: 7 additions & 0 deletions .github/workflows/markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "^(?!http(s)?:\/\/.*)|^(https:\/\/.*((osism.xyz)|(in-a-box.cloud)))(:?[0-9]+)?(\/.*)?$"
}
]
}

0 comments on commit 17030ba

Please sign in to comment.