From 60a6a4952ec809ed877ed62eaa4c5aec9cbed2bd Mon Sep 17 00:00:00 2001 From: ccamel Date: Fri, 24 May 2024 10:54:52 +0200 Subject: [PATCH] ci(worfklow): install lint-markdown-link job --- .github/workflows/lint.yml | 15 +++++++++++++++ .mlc_config.json | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .mlc_config.json diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 74f8396..3b8d603 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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: "no" + 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: diff --git a/.mlc_config.json b/.mlc_config.json new file mode 100644 index 0000000..62bb94f --- /dev/null +++ b/.mlc_config.json @@ -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] +}