Avoid dismissing approvals on restacks alone#58
Conversation
Amp-Thread-ID: https://ampcode.com/threads/T-019e1ccc-c22a-75f9-ab0e-74883fd4963e Co-authored-by: Amp <amp@ampcode.com>
PR SummaryMedium Risk Overview Updates Reviewed by Cursor Bugbot for commit befef1c. Bugbot is set up for automated code reviews on this repo. Configure here. |
🤖 Augment PR SummarySummary: This PR adjusts the “dismiss stale approvals” action to avoid dismissing approvals just because a rebase/restack rewrote commit SHAs. Changes:
Technical Notes: The ancestry check now acts as a gate: non-ancestor cases return non-stale and let the range-diff step determine staleness. 🤖 Was this summary useful? React with 👍 or 👎 |
Summary
Tests
npm cinpx renovate-config-validator.github/actions/dismiss-stale-approvals/self-test.sh