From bbf874be44e50e2369fff1d38af81bc145f8e90f Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Mon, 24 Nov 2025 20:45:57 -0700 Subject: [PATCH] Use HEAD for link checker Maybe servers will be more accepting of this request. --- .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 5af4ede..a85f763 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v2 with: - args: "--cache --max-cache-age 1d --exclude https://www.uber.com README.md" # Uber returns 406s otherwise + args: "-X HEAD --cache --max-cache-age 1d --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