From c18ef9160d83b22a4f0a3ff6b0c62e6a5bda19fd Mon Sep 17 00:00:00 2001 From: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Date: Fri, 3 May 2024 12:36:19 -0700 Subject: [PATCH] Relax link check --- .github/workflows/link_check.yml | 2 ++ .markdown-link-check.config.json | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .markdown-link-check.config.json diff --git a/.github/workflows/link_check.yml b/.github/workflows/link_check.yml index e26bf1ab0..5ff38cc5c 100644 --- a/.github/workflows/link_check.yml +++ b/.github/workflows/link_check.yml @@ -24,7 +24,9 @@ jobs: uses: gaurav-nelson/github-action-markdown-link-check@v1 with: folder-path: 'examples/' + check-modified-files-only: true file-path: './README.md' + config-file: './.markdown-link-check.config.json' notebook-link-check: runs-on: ubuntu-latest diff --git a/.markdown-link-check.config.json b/.markdown-link-check.config.json new file mode 100644 index 000000000..ea411bc52 --- /dev/null +++ b/.markdown-link-check.config.json @@ -0,0 +1,3 @@ +{ + "aliveStatusCodes": [200, 206, 402] +}