Bug on Branch protection rules page

Hi,

I found a bug on the Branch protection rules page.
How to reproduce

  1. Start adding a new branch protection rule
  2. Check the “Require pull request reviews…” checkbox → additional checkboxes show up
  3. Click Create
  4. Go back in your browser

Expected behaviour

  • checking the “Require pull request reviews…” checkbox shows additional options, unchecking it hides them

Actual behaviour

  • checking the “Require pull request reviews…” checkbox hides additional options, unchecking it shows them

See the gif below.

github_bug