From 3e364c3b00546bc7af502f49b9fd9cb710dbcdf7 Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Thu, 21 Nov 2024 21:29:16 -0700 Subject: [PATCH 1/3] Skip domains that don't like robots --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b18fe0e..dd377ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,9 @@ jobs: - name: Link Checker id: lychee uses: lycheeverse/lychee-action@v2 + args: + - "--exclude" + - "https://www.uber.com" # Uber returns 406s otherwise - name: "Check for exactly 200 links" run: | grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt From c66a5c24af7c1da4f0a8fbe8e06bdcb23c6770e5 Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Thu, 21 Nov 2024 21:32:38 -0700 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd377ad..de0a1fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,8 @@ jobs: - name: Link Checker id: lychee uses: lycheeverse/lychee-action@v2 - args: - - "--exclude" - - "https://www.uber.com" # Uber returns 406s otherwise + with: + args: "--exclude https://www.uber.com" # Uber returns 406s otherwise - name: "Check for exactly 200 links" run: | grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt From 9732886c805c5e0e8840672b8109e529dd29be0f Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Thu, 21 Nov 2024 21:33:17 -0700 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de0a1fc..cf0d538 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v2 with: - args: "--exclude https://www.uber.com" # Uber returns 406s otherwise + args: "--exclude https://www.uber.com README.md" # Uber returns 406s otherwise - name: "Check for exactly 200 links" run: | grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt