Same reviewer can submit unlimited back-to-back "Approve" reviews on a PR, flooding the timeline #213951
Replies: 2 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
You're right—right now GitHub treats every review submission as a separate timeline event and Until GitHub adds a guard or UI grouping for same-commit approvals, the only real mitigation on the repo side is relying on |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
One user can approve the same pull request over and over without any new commits in between. GitHub accepts every approval and adds a separate "approved these changes" entry to the timeline each time. Nothing stops it, merges it or rate-limits it.
Steps to reproduce
Expected behavior
One of these:
Actual behavior
Every submission is accepted and appears as its own entry. I ended up with 13+ consecutive "approved these changes" entries from my account within about 2 minutes, all on the same commit (screenshot below).
Impact
pull_request_review) to subscribers and integrations, so a spam vector exists.Notes
For branch protection, only the latest review from each reviewer counts, so required approval counts don't seem to go up. The issue is the missing check, plus the effect on the timeline and notifications.
Environment
github.com web UI, macOS
Screenshot

All reactions