|
| 1 | +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ |
| 2 | + |
| 3 | +repository: |
| 4 | + # See https://developer.github.com/v3/repos/#edit for all available settings. |
| 5 | + |
| 6 | + # The name of the repository. Changing this will rename the repository |
| 7 | + name: .github |
| 8 | + |
| 9 | + # A short description of the repository that will show up on GitHub |
| 10 | + description: Org-wide GitHub configurations |
| 11 | + |
| 12 | + # A URL with more information about the repository |
| 13 | + #homepage: https://example.github.io/ |
| 14 | + |
| 15 | + # A comma-separated list of topics to set on the repository |
| 16 | + #topics: github, probot |
| 17 | + |
| 18 | + # Either `true` to make the repository private, or `false` to make it public. |
| 19 | + # private: false |
| 20 | + |
| 21 | + # Either `true` to enable issues for this repository, `false` to disable them. |
| 22 | + has_issues: true |
| 23 | + |
| 24 | + # Either `true` to enable projects for this repository, or `false` to disable them. |
| 25 | + # If projects are disabled for the organization, passing `true` will cause an API error. |
| 26 | + has_projects: true |
| 27 | + |
| 28 | + # Either `true` to enable the wiki for this repository, `false` to disable it. |
| 29 | + has_wiki: false |
| 30 | + |
| 31 | + # Either `true` to enable downloads for this repository, `false` to disable them. |
| 32 | + has_downloads: true |
| 33 | + |
| 34 | + # Updates the default branch for this repository. |
| 35 | + default_branch: main |
| 36 | + |
| 37 | + # Either `true` to allow squash-merging pull requests, or `false` to prevent |
| 38 | + # squash-merging. |
| 39 | + allow_squash_merge: true |
| 40 | + |
| 41 | + # Either `true` to allow merging pull requests with a merge commit, or `false` |
| 42 | + # to prevent merging pull requests with merge commits. |
| 43 | + allow_merge_commit: true |
| 44 | + |
| 45 | + # Either `true` to allow rebase-merging pull requests, or `false` to prevent |
| 46 | + # rebase-merging. |
| 47 | + allow_rebase_merge: true |
| 48 | + |
| 49 | + # Either `true` to enable automatic deletion of branches on merge, or `false` to disable |
| 50 | + delete_branch_on_merge: false |
| 51 | + |
| 52 | + # Either `true` to enable automated security fixes, or `false` to disable |
| 53 | + # automated security fixes. |
| 54 | + enable_automated_security_fixes: true |
| 55 | + |
| 56 | + # Either `true` to enable vulnerability alerts, or `false` to disable |
| 57 | + # vulnerability alerts. |
| 58 | + enable_vulnerability_alerts: true |
| 59 | + |
| 60 | +# See https://developer.github.com/v3/teams/#add-or-update-team-repository for available options |
| 61 | +teams: |
| 62 | + # The permission to grant the team. Can be one of: |
| 63 | + # * `pull` - can pull, but not push to or administer this repository. |
| 64 | + # * `push` - can pull and push, but not administer this repository. |
| 65 | + # * `admin` - can pull, push and administer this repository. |
| 66 | + # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. |
| 67 | + # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. |
| 68 | + - name: org-admins |
| 69 | + permission: admin |
| 70 | + |
| 71 | +branches: |
| 72 | + - name: main |
| 73 | + # https://developer.github.com/v3/repos/branches/#update-branch-protection |
| 74 | + # Branch Protection settings. Set to null to disable |
| 75 | + protection: |
| 76 | + # Required. Require at least one approving review on a pull request, before merging. Set to null to disable. |
| 77 | + required_pull_request_reviews: |
| 78 | + # The number of approvals required. (1-6) |
| 79 | + required_approving_review_count: 1 |
| 80 | + # Dismiss approved reviews automatically when a new commit is pushed. |
| 81 | + dismiss_stale_reviews: true |
| 82 | + # Blocks merge until code owners have reviewed. |
| 83 | + require_code_owner_reviews: true |
| 84 | + # 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. |
| 85 | + dismissal_restrictions: |
| 86 | + users: [] |
| 87 | + teams: [] |
| 88 | + # Required. Require status checks to pass before merging. Set to null to disable |
| 89 | + required_status_checks: |
| 90 | + # Required. Require branches to be up to date before merging. |
| 91 | + strict: true |
| 92 | + # Required. The list of status checks to require in order to merge into this branch |
| 93 | + contexts: [] |
| 94 | + # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. |
| 95 | + enforce_admins: true |
| 96 | + # Prevent merge commits from being pushed to matching branches |
| 97 | + required_linear_history: true |
| 98 | + # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. |
| 99 | + restrictions: |
| 100 | + apps: [] |
| 101 | + users: [] |
| 102 | + teams: [] |
0 commit comments