ci: skip redundant test run during publish#645
Conversation
Tests already pass on the PR and on push-to-main before publish is triggered, so re-running the full suite in the publish workflow is unnecessary. Remove the test job from publish.yaml and the workflow_call trigger from tests.yaml. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughThe changes remove the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 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 |
Summary
testjob frompublish.yaml— tests already pass on the PR and on the push-to-main trigger before publish runsworkflow_calltrigger fromtests.yaml(no longer needed)This cuts ~10 min of redundant CI time from every release.
Notes
Branch protection with required status checks should also be configured for
mainto ensure tests always pass before merging. This is a GitHub settings change (rulesets), not a workflow change.🤖 Generated with Claude Code
Summary by CodeRabbit