You can now restrict who can dismiss pull request reviews directly in GitHub repository rulesets. This capability is generally available and gives you precise control over who can clear an approval before changes merge.

The setting lives alongside the other review options in the Require a pull request before merging rule. Rulesets are the recommended way to protect your branches, and this setting lives inside a rule you already use.

What’s new

With this rule, you can:

  • Choose the specific users, teams, and apps that can dismiss reviews, using the same actor picker you already use elsewhere in rulesets.
  • Configure the restriction through the UI, the REST API, and GraphQL.

How to try it

Open any repository-level ruleset, enable Require a pull request before merging, and select Restrict who can dismiss reviews.

Availability

This capability is generally available for repository rulesets on github.com.

Learn more in our documentation about rulesets.

Join the discussion within GitHub Community.