|
| 1 | +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ |
| 2 | + |
| 3 | +repository: |
| 4 | + # See https://docs.github.com/en/rest/reference/repos#update-a-repository for all available settings. |
| 5 | + |
| 6 | + # The name of the repository. Changing this will rename the repository. |
| 7 | + # name: template |
| 8 | + |
| 9 | + # A short description of the repository that will show up on GitHub. |
| 10 | + description: GitHub Template Repository |
| 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: template |
| 17 | + |
| 18 | + # Either `true` to enable issues for this repository, `false` to disable them. |
| 19 | + has_issues: true |
| 20 | + |
| 21 | + # Either `true` to enable projects for this repository, or `false` to disable them. |
| 22 | + # If projects are disabled for the organization, passing `true` will cause an API error. |
| 23 | + has_projects: false |
| 24 | + |
| 25 | + # Either `true` to enable the wiki for this repository, `false` to disable it. |
| 26 | + has_wiki: false |
| 27 | + |
| 28 | + # Either `true` to enable downloads for this repository, `false` to disable them. |
| 29 | + has_downloads: false |
| 30 | + |
| 31 | + # Updates the default branch for this repository. |
| 32 | + default_branch: main |
| 33 | + |
| 34 | + # Either `true` to allow squash-merging pull requests, or `false` to prevent |
| 35 | + # squash-merging. |
| 36 | + allow_squash_merge: true |
| 37 | + |
| 38 | + # Either `true` to allow merging pull requests with a merge commit, or `false` |
| 39 | + # to prevent merging pull requests with merge commits. |
| 40 | + allow_merge_commit: true |
| 41 | + |
| 42 | + # Either `true` to allow rebase-merging pull requests, or `false` to prevent |
| 43 | + # rebase-merging. |
| 44 | + allow_rebase_merge: true |
| 45 | + |
| 46 | + # Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge |
| 47 | + allow_auto_merge: true |
| 48 | + |
| 49 | + # Either `true` to enable automatic deletion of branches on merge, or `false` to disable |
| 50 | + delete_branch_on_merge: true |
| 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 | + # Either `true` to make this repo available as a template repository or `false` to prevent it. |
| 61 | + # is_template: false |
| 62 | + # template_repository: false |
| 63 | + |
| 64 | + # `true` to archive this repository. Note: You cannot unarchive repositories through the API. |
| 65 | + archived: false |
| 66 | + |
| 67 | +# Labels: define labels for Issues and Pull Requests |
| 68 | +labels: |
| 69 | + - name: bug |
| 70 | + color: '#cc0000' |
| 71 | + description: An issue with the system 🐛. |
| 72 | + |
| 73 | + - name: feature |
| 74 | + # If including a `#`, make sure to wrap it with quotes! |
| 75 | + color: '#336699' |
| 76 | + description: New functionality |
| 77 | + |
| 78 | + - name: WIP |
| 79 | + # If including a `#`, make sure to wrap it with quotes! |
| 80 | + color: '#faf064' |
| 81 | + description: Work in progress |
| 82 | + |
| 83 | + - name: draft |
| 84 | + # If including a `#`, make sure to wrap it with quotes! |
| 85 | + color: '#c800c8' |
| 86 | + |
| 87 | +# Milestones: define milestones for Issues and Pull Requests |
| 88 | +# milestones: |
| 89 | +# - title: milestone-title |
| 90 | +# description: milestone-description |
| 91 | +# # The state of the milestone. Either `open` or `closed` |
| 92 | +# state: open |
| 93 | + |
| 94 | +# Collaborators: give specific users access to this repository. |
| 95 | +# See https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator for available options |
| 96 | +# collaborators: |
| 97 | +# - username: my-user |
| 98 | +# # Note: `permission` is only valid on organization-owned repositories. |
| 99 | +# # The permission to grant the collaborator. Can be one of: |
| 100 | +# # * `pull` - can pull, but not push to or administer this repository. |
| 101 | +# # * `push` - can pull and push, but not administer this repository. |
| 102 | +# # * `admin` - can pull, push and administer this repository. |
| 103 | +# # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. |
| 104 | +# # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. |
| 105 | +# permission: admin |
| 106 | + |
| 107 | +# See https://developer.github.com/v3/teams/#add-or-update-team-repository for available options |
| 108 | +teams: |
| 109 | + - name: rnd |
| 110 | + # The permission to grant the team. Can be one of: |
| 111 | + # * `pull` - can pull, but not push to or administer this repository. |
| 112 | + # * `push` - can pull and push, but not administer this repository. |
| 113 | + # * `admin` - can pull, push and administer this repository. |
| 114 | + # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. |
| 115 | + # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. |
| 116 | + permission: push |
| 117 | + |
| 118 | +branches: |
| 119 | + - name: main |
| 120 | + # https://docs.github.com/en/rest/reference/repos#update-branch-protection |
| 121 | + # Branch Protection settings. Set to null to disable |
| 122 | + protection: |
| 123 | + # Required. Require at least one approving review on a pull request, before merging. Set to null to disable. |
| 124 | + required_pull_request_reviews: |
| 125 | + # The number of approvals required. (1-6) |
| 126 | + required_approving_review_count: 1 |
| 127 | + # Dismiss approved reviews automatically when a new commit is pushed. |
| 128 | + dismiss_stale_reviews: true |
| 129 | + # Blocks merge until code owners have reviewed. |
| 130 | + require_code_owner_reviews: true |
| 131 | + # 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. |
| 132 | + dismissal_restrictions: {} |
| 133 | + # users: [] |
| 134 | + # teams: [] |
| 135 | + # Required. Require status checks to pass before merging. Set to null to disable |
| 136 | + required_status_checks: |
| 137 | + # Required. Require branches to be up to date before merging. |
| 138 | + strict: true |
| 139 | + # Required. The list of status checks to require in order to merge into this branch |
| 140 | + contexts: |
| 141 | + - quality-checks |
| 142 | + # Commits pushed to matching branches must have verified signatures. Set to false to disable. |
| 143 | + required_signatures: false |
| 144 | + # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. |
| 145 | + enforce_admins: true |
| 146 | + # Prevents merge commits from being pushed to matching branches. Set to false to disable. |
| 147 | + required_linear_history: true |
| 148 | + # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. |
| 149 | + restrictions: |
| 150 | + # apps: [] |
| 151 | + # users: [] |
| 152 | + # teams: [] |
| 153 | + # Permits force pushes for all users with push access. Set to null to disable. |
| 154 | + allow_force_pushes: |
| 155 | + # Allows users with push access to delete matching branches. Set to false to disable. |
| 156 | + allow_deletions: false |
| 157 | + # Ensure all review conversations are seen and addressed prior to merging |
| 158 | + required_conversation_resolution: true |
0 commit comments