diff --git a/.github/workflows/markdown-link-check.yml b/.github/workflows/markdown-link-check.yml index 00cb686c082..6a18f0b5bd4 100644 --- a/.github/workflows/markdown-link-check.yml +++ b/.github/workflows/markdown-link-check.yml @@ -6,9 +6,13 @@ on: pull_request: branches: [ develop ] +# The config file handles things like http 500 errors from sites like GitLab +# and http 200 responses jobs: 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_config.json' diff --git a/.github/workflows/markdown_config.json b/.github/workflows/markdown_config.json new file mode 100644 index 00000000000..1ae40f89e5a --- /dev/null +++ b/.github/workflows/markdown_config.json @@ -0,0 +1,3 @@ +{ + "aliveStatusCodes": [200, 500] +}