Skip to content

Commit 153ffae

Browse files
orestis-zclaude
andauthored
ci: skip link checks on draft PRs to avoid 429s (#713)
## Summary - Skip the link-check CI job while a PR is in draft state to avoid hitting 429 rate limits from external sites (e.g. `docs.vllm.ai`) - Add `ready_for_review` event type so the check runs automatically when the PR is marked ready - Add `if: github.event.pull_request.draft != true` condition on the job ## Test plan - [ ] Open a draft PR and verify link checks are skipped - [ ] Mark the draft PR as ready and verify link checks run 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated link checks to run when a pull request is marked ready for review. * Draft pull requests will now skip this check until they’re ready. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Orestis Zambounis <orestis.zambounis@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 16ec909 commit 153ffae

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/link-checks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
pull_request:
8-
types: [opened, synchronize, reopened]
8+
types: [opened, synchronize, reopened, ready_for_review]
99
workflow_dispatch:
1010

1111
concurrency:
@@ -17,6 +17,7 @@ env:
1717

1818
jobs:
1919
link-checks:
20+
if: github.event.pull_request.draft != true
2021
runs-on: ubuntu-latest
2122
permissions:
2223
contents: read

0 commit comments

Comments
 (0)