You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Branch Protection settings. Set to null to disable
117
+
protection:
118
+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
119
+
required_pull_request_reviews:
120
+
# The number of approvals required. (1-6)
121
+
required_approving_review_count: 1
122
+
# Dismiss approved reviews automatically when a new commit is pushed.
123
+
dismiss_stale_reviews: true
124
+
# Blocks merge until code owners have reviewed.
125
+
require_code_owner_reviews: true
126
+
# Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories.
127
+
dismissal_restrictions:
128
+
users: []
129
+
teams: []
130
+
# Required. Require status checks to pass before merging. Set to null to disable
131
+
required_status_checks:
132
+
# Required. Require branches to be up to date before merging
133
+
strict: true
134
+
# Required. The list of status checks to require in order to merge into this branch
135
+
contexts: []
136
+
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
137
+
enforce_admins: true
138
+
# Prevent merge commits from being pushed to matching branches
139
+
required_linear_history: true
140
+
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
0 commit comments