Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Github Actions - Link Checker (#19)
Browse files Browse the repository at this point in the history
* add link checker files

* no verbose
  • Loading branch information
dnth authored Nov 4, 2022
1 parent a8449e3 commit bbfa29f
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Markdown Links

on:
pull_request:
types: [opened, synchronize]

jobs:
markdown-link-check:
runs-on: ubuntu-latest
env:
ZENML_DEBUG: 1
ZENML_ANALYTICS_OPT_IN: false
steps:
- uses: actions/checkout@main
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
config-file: .github/workflows/markdown_check_config.json

24 changes: 24 additions & 0 deletions .github/workflows/markdown_check_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"ignorePatterns": [
{
"pattern": "^http://0.0.0.0"
},
{
"pattern": "^http://127.0.0.1"
},
{
"pattern": "^http://localhost"
}
],
"aliveStatusCodes": [
999,
403,
503,
200,
0
],
"timeout": "20s",
"retryOn429": true,
"retryCount": 5,
"fallbackRetryDelay": "30s"
}

0 comments on commit bbfa29f

Please sign in to comment.