GitHub keeps getting better for open source maintainers
Maintainers can now limit who can approve and request changes on pull requests. You can also close issues and block users via your phone.
![](https://github.blog/wp-content/uploads/2019/03/product-social.png?resize=1201%2C630)
The world’s software depends on open source projects, so it’s important that open source maintainers can spend their time productively. We’re excited to share new features aimed at increasing the quality of contributions and helping maintainers focus on what matters most to the success of their projects.
Preventing drive-by pull request approvals and requested changes
First, we’ve heard from many maintainers that they love collaborating with external contributors, but spammy pull request approvals and requested changes are frustratingly common.
To address this, we’ve added code review limits. Maintainers can now limit who can approve and request changes on pull requests. At the repository level, a maintainer can limit approvals and requested changes to only those users who they have explicitly granted read or higher access as follows:
- To enable code review limits for a repository, go to the repository’s Settings page and select Moderation settings from the left menu.
- Click Code review limits and then check the Limit to users explicitly granted read or higher access box.
Maintainers can also enable code review limits across all repositories associated with their user or organization account. To do so from the user or organization settings page, follow these steps:
- Under Moderation settings, click Code review limits.
- Click the Limit reviews on all repositories button.
After a maintainer has enabled code review limits for a repository, when a user without explicit access starts a pull request review, they won’t be allowed to approve or request changes, and a tooltip will explain why. They’ll still be able to leave a comment.
This feature started as an internal hackathon project by a small group of motivated members of our Communities team, who maintain a number of our open-source projects, including the community-curated content on our Explore pages. In under three days, the team identified spammy approvals and requested changes as a problem they wanted to address, built the first version of code review limits, and filmed a demo. After some iteration, polish, and internal testing, we’re excited to make code review limits available to all maintainers.
Triaging notifications from your phone just got easier
Second, we’ve heard that the GitHub mobile app is a fantastic tool for triaging notifications, but we’ve also heard that it’s difficult to use the app to act on spammy issues and pull requests. When you see a spammy issue or pull request pop up in your mobile notifications, you can now easily close the issue and block the user from your organization right from your phone.
Investing in open source communities
These two new features help maintainers focus on meaningful contributions, but they’re not the only ways we’ve recently focused on quality-of-life improvements for open source communities. This year, we’ve made progress on several broader initiatives to improve the experience for open source maintainers:
- Issue Forms: Ensuring that users provide enough context in new issues can be challenging. With issue forms (currently in beta), you can create issue templates with form fields, including required fields, that can make issues more actionable.
- GitHub Discussions: Recently out of beta, GitHub Discussions gives open source communities a space to come together, converse, and help one another. Discussions help you reduce the volume of issues and enable your communities to better self-serve their needs.
- GitHub Sponsors: By allowing companies and developers to invest in the projects they depend on, GitHub Sponsors makes open source more sustainable. With recently launched custom amounts and one-time payments, there are even more ways to support maintainers.
We’ve been working hard to improve the experience of maintainers on GitHub, and we hope each of these features will continue to make open source communities stronger, healthier, and more sustainable.
Tags:
Written by
Related posts
![](https://github.blog/wp-content/uploads/2024/05/Collaboration-LightMode-2-1.png?resize=400%2C212)
Automating open source: How Ersilia distributes AI models to advance global health equity
Discover how the Ersilia Open Source Initiative accelerates drug discovery by using GitHub Actions to disseminate AI/ML models.
![Orange rectangle with the Git logo and white text overlaid, which reads "Git 2.46 is here!"](https://github.blog/wp-content/uploads/2024/07/git-246.png?resize=400%2C212)
Highlights from Git 2.46
Git 2.46 is here with new features like pseudo-merge bitmaps, more capable credential helpers, and a new git config command. Check out our coverage on some of the highlights here.
![GitHub Accelerator 2024 - Advancing AI](https://github.blog/wp-content/uploads/2024/02/accelerator2024.jpg?resize=400%2C212)
GitHub Accelerator Showcase: Celebrating our second cohort and what’s next
Meet each maintainer, watch their project demos, and discover the unique story of each open source AI project.