Blocking users from organizations via API doesn't allow to specify duration and other options #207369
Unanswered
nemesifier
asked this question in
Apps, API and Webhooks
Replies: 1 comment
|
💬 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. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
API.
Related to github/roadmap#1284.
Body
The UI for blocking users allows specifying different options:
However, the REST API for blocking users does not allow specifying these options, it only allow supplying
usernameandorg.In the age of AI, dealing with large quantities of sloppy PRs has become a serious issue. Open source projects are resource-constrained: whether we deal with PRs through human review or AI-assisted review, nobody is paying us to do it. If even a few users submit a large quantity of comments and PRs in a short period of time, they can quickly overwhelm maintainers and CI, consuming quotas or even paid CI/AI services.
Many projects have decided to close public contributions altogether or migrate to competing or self-hosted version control platforms.
In my case, I am trying a different approach: keeping contributions open while automatically detecting and flagging spammy contributions. There are recurring characteristics that make these contributions relatively easy to recognize, flag, and close.
However, even when the contributions are flagged and closed, some users persist in spamming. In my opinion, the only real solution is to temporarily block them for 1 to 7 days as a cool-down period, and send them a notification with instructions on how to contribute properly, submit quality work, and avoid overloading maintainers with low-quality contributions.
I have been doing this manually, and I am getting good results.
Please, GitHub, add the same blocking options available in the UI to the REST API.
All reactions