@@ -60,56 +60,56 @@ repository:
6060
6161# TODO: Enable this section once GitHub teams have been created & granted access to this repository
6262# See https://developer.github.com/v3/teams/#add-or-update-team-repository for options
63- teams :
64- # The permission to grant the team. Can be one of:
65- # * `pull` - can pull, but not push to or administer this repository.
66- # * `push` - can pull and push, but not administer this repository.
67- # * `admin` - can pull, push and administer this repository.
68- # * `maintain` - Recommended for project managers who need to manage the
69- # repository without access to sensitive or destructive actions.
70- # * `triage` - Recommended for contributors who need to proactively manage
71- # issues and pull requests without write access.
72- - name : dir-maintainers
73- permission : admin
63+ # teams:
64+ # # The permission to grant the team. Can be one of:
65+ # # * `pull` - can pull, but not push to or administer this repository.
66+ # # * `push` - can pull and push, but not administer this repository.
67+ # # * `admin` - can pull, push and administer this repository.
68+ # # * `maintain` - Recommended for project managers who need to manage the
69+ # # repository without access to sensitive or destructive actions.
70+ # # * `triage` - Recommended for contributors who need to proactively manage
71+ # # issues and pull requests without write access.
72+ # - name: dir-maintainers
73+ # permission: admin
7474
7575# TODO: Enable this section once repository has been created & no further modifications are needed
76- branches :
77- - name : main
78- # https://developer.github.com/v3/repos/branches/#update-branch-protection
79- # Branch Protection settings. Set to null to disable
80- protection :
81- # Required. Require at least one approving review on a pull request,
82- # before merging. Set to null to disable.
83- required_pull_request_reviews :
84- # The number of approvals required. (1-6)
85- required_approving_review_count : 1
86- # Dismiss approved reviews automatically when a new commit is pushed.
87- dismiss_stale_reviews : true
88- # Blocks merge until code owners have reviewed.
89- require_code_owner_reviews : true
90- # Specify which users and teams can dismiss pull request reviews. Pass
91- # an empty dismissal_restrictions object to disable. User and team
92- # dismissal_restrictions are only available for organization-owned
93- # repositories. Omit this parameter for personal repositories.
94- dismissal_restrictions :
95- users : []
96- teams : []
97- # Required. Require status checks to pass before merging. Set to null to disable
98- required_status_checks :
99- # Required. Require branches to be up to date before merging.
100- strict : true
101- # Required. The list of required status checks in order to merge into this branch
102- contexts : []
103- # Required. Enforce all configured restrictions for administrators. Set to
104- # true to enforce required status checks for repository administrators.
105- # Set to null to disable.
106- enforce_admins : true
107- # Prevent merge commits from being pushed to matching branches
108- required_linear_history : true
109- # Required. Restrict who can push to this branch. Team and user
110- # restrictions are only available for organization-owned repositories. Set
111- # to null to disable.
112- restrictions :
113- apps : []
114- users : []
115- teams : []
76+ # branches:
77+ # - name: main
78+ # # https://developer.github.com/v3/repos/branches/#update-branch-protection
79+ # # Branch Protection settings. Set to null to disable
80+ # protection:
81+ # # Required. Require at least one approving review on a pull request,
82+ # # before merging. Set to null to disable.
83+ # required_pull_request_reviews:
84+ # # The number of approvals required. (1-6)
85+ # required_approving_review_count: 1
86+ # # Dismiss approved reviews automatically when a new commit is pushed.
87+ # dismiss_stale_reviews: true
88+ # # Blocks merge until code owners have reviewed.
89+ # require_code_owner_reviews: true
90+ # # Specify which users and teams can dismiss pull request reviews. Pass
91+ # # an empty dismissal_restrictions object to disable. User and team
92+ # # dismissal_restrictions are only available for organization-owned
93+ # # repositories. Omit this parameter for personal repositories.
94+ # dismissal_restrictions:
95+ # users: []
96+ # teams: []
97+ # # Required. Require status checks to pass before merging. Set to null to disable
98+ # required_status_checks:
99+ # # Required. Require branches to be up to date before merging.
100+ # strict: true
101+ # # Required. The list of required status checks in order to merge into this branch
102+ # contexts: []
103+ # # Required. Enforce all configured restrictions for administrators. Set to
104+ # # true to enforce required status checks for repository administrators.
105+ # # Set to null to disable.
106+ # enforce_admins: true
107+ # # Prevent merge commits from being pushed to matching branches
108+ # required_linear_history: true
109+ # # Required. Restrict who can push to this branch. Team and user
110+ # # restrictions are only available for organization-owned repositories. Set
111+ # # to null to disable.
112+ # restrictions:
113+ # apps: []
114+ # users: []
115+ # teams: []
0 commit comments