Paul Krill
Editor at Large

GitHub introduces code review controls

news
Nov 3, 20212 mins
Development ToolsGitHubVersion Control Systems

New controls in the popular code-sharing site are designed to deal with โ€˜drive-byโ€˜ pull request approvals and โ€˜spammyโ€™ change requests.

thumbs up thumbs down good bad voting opinion compare different positive negative by comicsans getty
Credit: ComicSans / Getty

GitHub has added code review restrictions and improved mobile notifications for users of its popular Git-based version control system and code-sharing site. Among the goals of the code review limits is an attempt to address โ€œdrive-byโ€ pull request approvals and spammy change requests.

Maintainers now can limit who can approve and request changes on pull requests. At the repository level, a maintainer can limit approvals and changes to only users who have been explicitly granted read or higher access. Maintainers also can enable code review limits across all repositories associated with their use or organization account.

To enable code review limits for a repository, maintainers can go to the repoโ€™s Settings page and select Moderation Settings from the left menu. Then click โ€œCode review limitsโ€ and check the box under โ€œLimit to users explicitly granted read or higher access.โ€

To address the same problems in the GitHub mobile app, users now can easily close the spammy issue and block the requester from an organization right from the developerโ€™s smartphone.

The two new features are among several โ€œquality-of-life improvementsโ€ for open source communities that GitHub has delivered this year, the company said. Others include:

  • Issue forms, a beta capability to create issue templates with form fields, including required fields, to make issues more actionable.
  • GitHub Discussions, providing a space for developers to converse and help each other.
  • GitHub Sponsors, allowing companies and developers to invest in projects they depend on, to help make open source more sustainable.
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorldโ€™s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorldโ€™s audience of software developers and other information technology professionals. Paul has won a โ€œBest Technology News Coverageโ€ award from IDG.

More from this author