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
Copy file name to clipboardExpand all lines: .github/settings.yml
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
1
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
2
+
# Once installed, the app is accessible to all repositories within a GitHub Organization.
3
+
# The app must be re-installed for new Organizations.
2
4
3
5
repository:
4
6
# See https://docs.github.com/en/rest/reference/repos#update-a-repository for all available settings.
@@ -136,4 +138,7 @@ branches:
136
138
# Prevent merge commits from being pushed to matching branches
137
139
required_linear_history: true
138
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.
# Branch Protection settings. Set to null to disable
115
+
protection:
116
+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
117
+
required_pull_request_reviews:
118
+
# The number of approvals required. (1-6)
119
+
required_approving_review_count: 1
120
+
# Dismiss approved reviews automatically when a new commit is pushed.
121
+
dismiss_stale_reviews: true
122
+
# Blocks merge until code owners have reviewed.
123
+
require_code_owner_reviews: true
124
+
# 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.
125
+
dismissal_restrictions:
126
+
users: []
127
+
teams: []
128
+
# Required. Require status checks to pass before merging. Set to null to disable
129
+
required_status_checks:
130
+
# Required. Require branches to be up to date before merging.
131
+
strict: true
132
+
# Required. The list of status checks to require in order to merge into this branch
133
+
contexts: []
134
+
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
135
+
enforce_admins: true
136
+
# Prevent merge commits from being pushed to matching branches
137
+
required_linear_history: true
138
+
# 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