Skip to content

Claude Code guide in three levels, Beginner to Advanced: hands-on lessons with checked exercises, every volatile fact cited to its source. Independent community guide.

ci: give the weekly link check a GitHub token so github.com links are not throttled (#119)

Wesam Abousaid29c97484cb37
diff --git a/.github/workflows/links-weekly.yml b/.github/workflows/links-weekly.yml
index 812a1ae..488aafb 100644
--- a/.github/workflows/links-weekly.yml
+++ b/.github/workflows/links-weekly.yml
@@ -23,6 +23,10 @@ jobs:
run: .github/scripts/install-lychee.sh
- name: Run the check
id: check
+ env:
+ # lychee checks github.com links through the API with this token, so GitHub
+ # does not throttle them with 503s.
+ GITHUB_TOKEN: ${{ github.token }}
run: |
set +e
node .github/scripts/check.mjs --mode scheduled --only external-links > "$RUNNER_TEMP/check.txt" 2>&1