ci: skip checks for draft PRs#1274
Conversation
🦋 Changeset detectedLatest commit: 15a457d The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe pull request configures GitHub Actions to skip CI check jobs when a pull request is in draft state. The workflow trigger is updated to listen for specific PR event types, and six jobs are guarded with draft-state conditions to prevent execution on draft PRs. ChangesDraft PR Check Skipping
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
@omeraplak not sure if you prefer CI on for drafts but figured it could save minutes and at least on my end I like pushing out a first version to possibly get eyes on or iterate a bit, I see that coderabbit is ignoring drafts already... |
Summary
Why
CI is currently running on draft PRs, which wastes GitHub Actions minutes and is unnecessary while work is still in draft state.
Validation
.github/workflows/pull-request.ymlas YAML.git diff --check.Summary by cubic
Skip PR check jobs while a PR is in draft and run them when it’s marked ready for review. This reduces unnecessary GitHub Actions minutes on WIP PRs.
Written for commit 15a457d. Summary will update on new commits.
Summary by CodeRabbit
Release Notes