Skip to content

Commit ac93de6

Browse files
paddymulclaude
andauthored
ci: retry link checker on failure to handle GitHub rate limits (#633)
GitHub rate-limits unauthenticated requests from CI runner IPs, causing intermittent 403/429 on same-repo blob URLs. Retry only the failed links (--lf) so transient rate limits pass on second attempt while real broken links still fail. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f2147ce commit ac93de6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,8 @@ jobs:
682682
touch buckaroo/static/widget.js
683683
touch buckaroo/static/widget.css
684684
mkdir -p docs/build/html
685-
uv run pytest --check-links docs/source/*.rst
686-
uv run pytest --check-links docs/example-notebooks/*.ipynb
685+
uv run pytest --check-links docs/source/*.rst || uv run pytest --check-links --lf docs/source/*.rst
686+
uv run pytest --check-links docs/example-notebooks/*.ipynb || uv run pytest --check-links --lf docs/example-notebooks/*.ipynb
687687
uv run sphinx-build -T -b html docs/source docs/build
688688
689689
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)