.github/settings.yml: change to PR only workflow
- enforce restrictions for admins
This commit is contained in:
parent
cd5fcbadd7
commit
c0cd6e9b61
1 changed files with 7 additions and 4 deletions
11
.github/settings.yml
vendored
11
.github/settings.yml
vendored
|
@ -108,17 +108,20 @@ branches:
|
|||
# Branch Protection settings. Set to null to disable
|
||||
protection:
|
||||
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
|
||||
|
||||
# these settings are the same as manually enabling "Require a pull request before merging" but not setting any other restrictions
|
||||
required_pull_request_reviews:
|
||||
# # The number of approvals required. (1-6)
|
||||
# required_approving_review_count: 1
|
||||
required_approving_review_count: 0
|
||||
# # Dismiss approved reviews automatically when a new commit is pushed.
|
||||
# dismiss_stale_reviews: true
|
||||
dismiss_stale_reviews: false
|
||||
# # Blocks merge until code owners have reviewed.
|
||||
# require_code_owner_reviews: true
|
||||
require_code_owner_reviews: false
|
||||
# # 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.
|
||||
# dismissal_restrictions:
|
||||
# users: []
|
||||
# teams: []
|
||||
require_last_push_approval: false
|
||||
# Required. Require status checks to pass before merging. Set to null to disable
|
||||
required_status_checks:
|
||||
# Required. Require branches to be up to date before merging.
|
||||
|
@ -129,7 +132,7 @@ branches:
|
|||
- ci/hercules/effects
|
||||
- ci/hercules/evaluation
|
||||
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
|
||||
enforce_admins: false
|
||||
enforce_admins: true
|
||||
# Disabled for bors to work
|
||||
required_linear_history: false
|
||||
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue