From a0c7b908b9137093130f59e4ffdfb2020e5e88b7 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Sat, 16 Aug 2025 13:48:02 -0700 Subject: [PATCH] fix: Use curl User-Agent for lychee link checking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Intel website has specific anti-bot logic: - Blocks browser User-Agents (returns 403) - Blocks lychee default User-Agent (returns 403) - Allows curl User-Agent (returns 200) This enables proper link validation for Intel documentation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .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 8d664bc..8da5ea4 100644 --- a/.github/workflows/link-check.yml +++ b/.github/workflows/link-check.yml @@ -14,6 +14,6 @@ jobs: - uses: actions/checkout@v4 - uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --insecure --user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36' README.md docs/ apps/ examples/ benchmarks/ + args: --no-progress --insecure --user-agent 'curl/7.68.0' README.md docs/ apps/ examples/ benchmarks/ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}