Repository navigation
v0.5.27 - Approve clean first reviews instead of posting LGTM as a comment after the auto-format push (#954)
Latest🌟 Summary
Fixes a timing issue in PR automation so clean first reviews can approve the latest auto-formatted commit instead of appearing only as an “LGTM” comment. ✅
📊 Key Changes
- The workflow now records the commit SHA created by its auto-format push and passes it to the review process.
- PR diff generation uses that SHA even if GitHub’s API has not yet updated to show the new commit.
🎯 Purpose & Impact
- Prevents reviews from being based on an outdated PR version during a brief API delay.
- Helps clean first reviews register as approvals, reducing the need for someone to notice a missing approval and request another review.
- Addresses an intermittent issue reported on 7 of the last 60 PRs; it changes review automation, not model behavior.
What's Changed
- Approve clean first reviews instead of posting LGTM as a comment after the auto-format push by @JaviChulvi in #954
Full Changelog: v0.5.26...v0.5.27