Skip to content

Commit

Permalink
ci(worfklow): install lint-markdown-link job
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed May 24, 2024
1 parent 4865ca4 commit e31be18
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ jobs:
with:
args: "**/*.md"

lint-markdown-link:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Lint markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: "yes"
use-verbose-mode: "yes"
base-branch: "main"
check-modified-files-only: "no"
config-file: ".mlc_config.json"

lint-yaml:
runs-on: ubuntu-22.04
steps:
Expand Down
18 changes: 18 additions & 0 deletions .mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"ignorePatterns": [
{
"pattern": "^https://www.linkedin.com/company/axone-protocol"
}
],
"replacementPatterns": [
{
"pattern": "^/profile",
"replacement": "https://github.com/axone-protocol/.github/raw/main/profile"
}
],
"timeout": "20s",
"retryOn429": true,
"retryCount": 5,
"fallbackRetryDelay": "30s",
"aliveStatusCodes": [200, 206]
}

0 comments on commit e31be18

Please sign in to comment.