Simplify AI PR Review workflow by removing manual trigger#205
Conversation
…m pr-review.yml pr-review-run.yml is superseded by ai-persona-review.yml, which handles persona reviews triggered by workflow_run from pr-review.yml and also supports manual dispatch via workflow_dispatch. Removing the redundant file eliminates duplicate review runs on every PR. The workflow_dispatch trigger added to pr-review.yml in PR #204 is not needed there since manual invocation is already covered by ai-persona-review.yml.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
WalkthroughThe PR removes GitHub Actions workflows that implement automated AI PR reviews. The pr-review-run.yml file is completely deleted (113 lines), and the workflow_dispatch trigger is removed from pr-review.yml, leaving only pull_request event triggers. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment Tip CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required. |
Summary
This PR simplifies the AI PR Review workflow configuration by removing the two-workflow setup and consolidating into a single workflow that runs directly on pull requests.
Key Changes
.github/workflows/pr-review-run.yml- The secondary workflow that was triggered viaworkflow_runevent is no longer needed.github/workflows/pr-review.yml- Removed theworkflow_dispatchtrigger, keeping only thepull_requestevent triggerImplementation Details
The previous setup used a two-workflow pattern where:
pull_requestworkflow would prepare review inputs and upload them as artifactsworkflow_runworkflow would download those artifacts and run the actual reviewThis change consolidates the logic into a single workflow that triggers directly on pull request events. The
workflow_dispatchoption (manual trigger) has been removed as it's no longer needed with this simplified approach.This reduces complexity while maintaining the core functionality of running AI-powered PR reviews on pull request creation and updates.
https://claude.ai/code/session_012q77afgp6s3GbRQGCjKFr1
Summary by CodeRabbit