repository-settings / app

Pull Requests for GitHub repository settings
https://github.com/apps/settings
ISC License
910 stars 178 forks source link

Extend environment settings to support prevent_self_review parameter #931

Open brockgwex opened 2 months ago

brockgwex commented 2 months ago

Prerequisites:

New Feature

Adds the ability to control whether prevent_self_review is enabled or disabled for a given deployment environment.

environments:
  - name: prod
    reviewers:
      - id: 5847163
        type: 'Team'
    prevent_self_review: true
    deployment_branch_policy:
      protected_branches: true