diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 55f7a948ec2..3ac4fd47577 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,8 +42,17 @@ jobs: - name: Run markdown-lint uses: avto-dev/markdown-lint@v1 with: - args: CHANGELOG.md README.md docs/ + args: CHANGELOG.md CONTRIBUTING.md README.md docs/ config: '.markdownlint.yml' + - name: Prepare markdown-link-check + run: mkdir docs/ROOT && cp CHANGELOG.md README.md docs/ROOT + - name: Run markdown-link-check + uses: gaurav-nelson/github-action-markdown-link-check@619e549 + with: + use-quiet-mode: 'yes' + use-verbose-mode: 'no' + config-file: 'mlc_config.json' + folder-path: 'docs/' tests: name: Unit tests runs-on: ubuntu-latest diff --git a/mlc_config.json b/mlc_config.json index 43d1ec18e04..e6d24fd541a 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -1,8 +1,17 @@ { "ignorePatterns": [ + { + "pattern": "^CONTRIBUTING\\.md" + }, { "pattern": "^https://dl\\.acm\\.org" }, + { + "pattern": "^https://github\\.com" + }, + { + "pattern": "^https://.*\\.jabref\\.org" + }, { "pattern": "^http://purl\\.org/net/bibteXMP" },