|
| 1 | +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ |
| 2 | + |
| 3 | +repository: |
| 4 | + |
| 5 | + # A comma-separated list of topics to set on the repository |
| 6 | + topics: terraform, terraform-module, azure |
| 7 | + |
| 8 | + # Either `true` to make the repository private, or `false` to make it public. |
| 9 | + private: true |
| 10 | + |
| 11 | + # Either `true` to enable issues for this repository, `false` to disable them. |
| 12 | + has_issues: true |
| 13 | + |
| 14 | + # Either `true` to enable projects for this repository, or `false` to disable them. |
| 15 | + # If projects are disabled for the organization, passing `true` will cause an API error. |
| 16 | + has_projects: true |
| 17 | + |
| 18 | + # Either `true` to enable the wiki for this repository, `false` to disable it. |
| 19 | + has_wiki: false |
| 20 | + |
| 21 | + # Either `true` to enable downloads for this repository, `false` to disable them. |
| 22 | + has_downloads: false |
| 23 | + |
| 24 | + # Updates the default branch for this repository. |
| 25 | + default_branch: main |
| 26 | + |
| 27 | + # Either `true` to allow squash-merging pull requests, or `false` to prevent |
| 28 | + # squash-merging. |
| 29 | + allow_squash_merge: true |
| 30 | + |
| 31 | + # Either `true` to allow merging pull requests with a merge commit, or `false` |
| 32 | + # to prevent merging pull requests with merge commits. |
| 33 | + allow_merge_commit: true |
| 34 | + |
| 35 | + # Either `true` to allow rebase-merging pull requests, or `false` to prevent |
| 36 | + # rebase-merging. |
| 37 | + allow_rebase_merge: true |
| 38 | + |
| 39 | + # Either `true` to enable automatic deletion of branches on merge, or `false` to disable |
| 40 | + delete_branch_on_merge: true |
| 41 | + |
| 42 | + # Either `true` to enable automated security fixes, or `false` to disable |
| 43 | + # automated security fixes. |
| 44 | + enable_automated_security_fixes: true |
| 45 | + |
| 46 | + # Either `true` to enable vulnerability alerts, or `false` to disable |
| 47 | + # vulnerability alerts. |
| 48 | + enable_vulnerability_alerts: true |
| 49 | + |
| 50 | +# Labels: define labels for Issues and Pull Requests |
| 51 | +labels: |
| 52 | +- name: bug |
| 53 | + color: CC0000 |
| 54 | + description: An issue with the system 🐛. |
| 55 | + |
| 56 | +- name: terraform |
| 57 | + color: "#006b75" |
| 58 | + description: An issue related to terraform. |
| 59 | + |
| 60 | +- name: azure |
| 61 | + color: "#007fff" |
| 62 | + description: An issue related to Azure. |
| 63 | + |
| 64 | +- name: aws |
| 65 | + color: "#ff9900" |
| 66 | + description: An issue related to AWS. |
| 67 | + |
| 68 | +- name: go |
| 69 | + color: "#e99695" |
| 70 | + description: An issue related to Go. |
| 71 | + |
| 72 | +- name: feature |
| 73 | + # If including a `#`, make sure to wrap it with quotes! |
| 74 | + color: '#336699' |
| 75 | + description: New functionality. |
| 76 | + |
| 77 | +- name: do-not-merge |
| 78 | + color: "#bfdadc" |
| 79 | + description: Probelmatic PR. |
| 80 | + |
| 81 | +- name: actions |
| 82 | + color: "#2088ff" |
| 83 | + description: An issue related to GitHub Actions. |
| 84 | + |
| 85 | +- name: patch |
| 86 | + color: 0e8a16 |
| 87 | + description: A bug fix or patch. |
| 88 | + |
| 89 | +- name: minor |
| 90 | + color: d4c5f9 |
| 91 | + description: A minor change or improvement. |
| 92 | + |
| 93 | +- name: major |
| 94 | + color: ffa198 |
| 95 | + description: A major change that might break backward compatibility. |
| 96 | + |
| 97 | +- name: first-release |
| 98 | + color: "#5f4449" |
| 99 | + description: The first release of this project. |
| 100 | + |
| 101 | +# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options |
| 102 | +teams: |
| 103 | +- name: terraform-reviewers |
| 104 | + # The permission to grant the team. Can be one of: |
| 105 | + # * `pull` - can pull, but not push to or administer this repository. |
| 106 | + # * `push` - can pull and push, but not administer this repository. |
| 107 | + # * `admin` - can pull, push and administer this repository. |
| 108 | + # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. |
| 109 | + # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. |
| 110 | + permission: admin |
| 111 | + |
| 112 | +branches: |
| 113 | +- name: main |
| 114 | + # https://docs.github.com/en/rest/reference/repos#update-branch-protection |
| 115 | + # Branch Protection settings. Set to null to disable |
| 116 | + protection: |
| 117 | + # Required. Require at least one approving review on a pull request, before merging. Set to null to disable. |
| 118 | + required_pull_request_reviews: |
| 119 | + # The number of approvals required. (1-6) |
| 120 | + required_approving_review_count: 1 |
| 121 | + # Dismiss approved reviews automatically when a new commit is pushed. |
| 122 | + dismiss_stale_reviews: true |
| 123 | + # Blocks merge until code owners have reviewed. |
| 124 | + require_code_owner_reviews: true |
| 125 | + # 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. |
| 126 | + dismissal_restrictions: |
| 127 | + users: [] |
| 128 | + teams: [] |
| 129 | + # Prevent merge commits from being pushed to matching branches |
| 130 | + required_linear_history: false |
0 commit comments