| 1 |
--- |
| 2 |
branches: |
| 3 |
- name: main |
| 4 |
protection: |
| 5 |
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable. |
| 6 |
required_pull_request_reviews: |
| 7 |
# The number of approvals required. (1-6) |
| 8 |
required_approving_review_count: 1 |
| 9 |
# Dismiss approved reviews automatically when a new commit is pushed. |
| 10 |
dismiss_stale_reviews: false |
| 11 |
# Blocks merge until code owners have reviewed. |
| 12 |
require_code_owner_reviews: false |
| 13 |
# 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. |
| 14 |
dismissal_restrictions: |
| 15 |
users: [] |
| 16 |
teams: [] |
| 17 |
# Required. Require status checks to pass before merging. Set to null to disable |
| 18 |
required_status_checks: |
| 19 |
# Required. Require branches to be up to date before merging. |
| 20 |
strict: false |
| 21 |
# Required. The list of status checks to require in order to merge into this branch |
| 22 |
contexts: |
| 23 |
- DCO |
| 24 |
- "ci/circleci: go-1-17" |
| 25 |
- "ci/circleci: go-1-18" |
| 26 |
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. |
| 27 |
enforce_admins: false |
| 28 |
# Prevent merge commits from being pushed to matching branches |
| 29 |
required_linear_history: false |
| 30 |
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. |
| 31 |
restrictions: |
| 32 |
apps: [] |
| 33 |
users: [] |
| 34 |
teams: [] |