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 1/2] 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] +} From 5d5ee80b0883e23161d0e5fcebe725b2fab097b7 Mon Sep 17 00:00:00 2001 From: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Date: Fri, 3 May 2024 12:37:45 -0700 Subject: [PATCH 2/2] ok maybe ok onschedule --- .github/workflows/link_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link_check.yml b/.github/workflows/link_check.yml index 5ff38cc5c..de297c200 100644 --- a/.github/workflows/link_check.yml +++ b/.github/workflows/link_check.yml @@ -24,7 +24,7 @@ jobs: uses: gaurav-nelson/github-action-markdown-link-check@v1 with: folder-path: 'examples/' - check-modified-files-only: true + check-modified-files-only: ${{ github.event_name != 'schedule' }} file-path: './README.md' config-file: './.markdown-link-check.config.json'