Skip coverage CI for draft PRs#1280
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude Code ReviewHead SHA: fa6c79c Files changed: 1
Summary:
Findings: No functional issues found. The change is minimal, correct, and consistent with the existing pattern. Improvement opportunities:
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude Code ReviewHead SHA: Files changed: 2
Summary
Findings
The However, the if: needs.file-changes.outputs.checkall == 'true' && github.event.pull_request.draft != trueuses No issues found. The implementation correctly mirrors the existing draft-skip pattern already used in Improvement Opportunities (optional)
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude Code ReviewHead SHA: Files changed: 1
Summary:
Findings: No issues found. Improvement opportunities (optional):
Overall this is a clean, minimal, and well-scoped change. ✅ |
Review Summary by QodoSkip coverage CI for draft pull requests
WalkthroughsDescription• Skip coverage CI job for draft pull requests • Add ready_for_review event trigger to run coverage when draft marked ready • Reduces unnecessary ~3hr coverage job runs on draft PRs Diagramflowchart LR
A["Draft PR opened"] -->|"skip coverage"| B["Coverage job skipped"]
C["Draft marked ready"] -->|"ready_for_review event"| D["Coverage job runs"]
File Changes1. .github/workflows/coverage.yml
|
Code Review by Qodo
1. Draft PR still "passes" check
|
Claude Code ReviewHead SHA: Files changed: 1
Summary
FindingsNo issues found. Improvement Opportunities
Overall this is a clean, minimal CI improvement. Approved. |
There was a problem hiding this comment.
Pull request overview
Updates the CI coverage workflow to avoid running the long coverage job on draft pull requests, while ensuring coverage runs automatically once a PR is marked ready for review (matching the existing draft-handling pattern used elsewhere in the repo’s workflows).
Changes:
- Add
ready_for_reviewto thepull_requestworkflow trigger types for coverage. - Gate the coverage job to skip when the PR is a draft (
github.event.pull_request.draft != true).
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request modifies the GitHub Actions coverage workflow configuration. The workflow trigger for pull requests is updated to specify trigger events: opened, synchronize, reopened, and ready_for_review. Additionally, the Coverage job condition is modified to include a check ensuring the pull request is not in draft status, alongside the existing checkall condition requirement. These changes result in a net addition of 2 lines and removal of 1 line. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
test.ymlready_for_reviewevent triggerTest plan
🤖 Generated with Claude Code