Repository navigation
fix: name the lines to change in the PR description instead of repeating it - #326
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 1 minute. View limit details
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. |
Commit Check✅ All 5 checks passed Show all 5 checkscommit-check 2.20.2 · Rules reference |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #326 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 764 791 +27
=========================================
+ Hits 764 791 +27
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What
With
pr-body-ai-attribution: true, a failing description printed the whole corrected description as "Fix" in the log, the annotation, the job summary and the PR comment. A long description was repeated in full, and the reader still had to diff it by eye.Now the Action names only the lines to change.
Before / after
Description with
Link to Devin run: https://app.devin.ai/sessions/…,ai_attribution = "forbid":Before:
After:
Description with
Co-Authored-By: Claude <noreply@anthropic.com>,ai_attribution = "disclose":Before: CC014 and CC015 each printed the full description again, with the trailer replaced.
After:
Checks
ruff check,ruff format --check,mypy main.py: cleanpytest: 280 passed, 100% line and branch coveragemain.pyfrommainand from this branch against a local PR event with commit-check 2.20.2 under both policies; the output above is from those runs.Commit message checks are unchanged: they still print the full corrected message, which is what
git commit --amendneeds.