|
| 1 | +# REPOSITORY INFRASTRUCTURE SETTINGS |
| 2 | +--- |
| 3 | +# https://docs.github.com/rest/branches/branch-protection#update-branch-protection |
| 4 | +branches: |
| 5 | + - name: main |
| 6 | + protection: |
| 7 | + allow_deletions: false |
| 8 | + allow_force_pushes: true |
| 9 | + allow_fork_syncing: false |
| 10 | + block_creations: false |
| 11 | + enforce_admins: false |
| 12 | + lock_branch: false |
| 13 | + required_conversation_resolution: true |
| 14 | + required_linear_history: true |
| 15 | + required_pull_request_reviews: |
| 16 | + bypass_pull_request_allowances: {} |
| 17 | + dismiss_stale_reviews: true |
| 18 | + dismissal_restrictions: {} |
| 19 | + require_code_owner_reviews: false |
| 20 | + require_last_push_approval: false |
| 21 | + required_approving_review_count: 1 |
| 22 | + required_status_checks: |
| 23 | + checks: |
| 24 | + - context: add-to-project |
| 25 | + - context: auto-merge |
| 26 | + - context: build |
| 27 | + - context: codecov/changes |
| 28 | + app_id: 254 |
| 29 | + - context: codecov/patch |
| 30 | + app_id: 254 |
| 31 | + - context: codecov/project |
| 32 | + app_id: 254 |
| 33 | + - context: codecov/project/config |
| 34 | + app_id: 254 |
| 35 | + - context: codecov/project/utils |
| 36 | + app_id: 254 |
| 37 | + - context: commitlint |
| 38 | + - context: dependabot-auto |
| 39 | + - context: format |
| 40 | + - context: gitguardian |
| 41 | + - context: lint |
| 42 | + - context: spelling |
| 43 | + - context: test (16) |
| 44 | + - context: test (18) |
| 45 | + - context: test (19) |
| 46 | + - context: typescript (5.0.4) |
| 47 | + - context: typescript (~4.8.0) |
| 48 | + - context: typescript (~4.9.0) |
| 49 | + strict: true |
| 50 | + restrictions: null |
| 51 | +# https://docs.github.com/rest/deployments/environments#create-or-update-an-environment |
| 52 | +environments: |
| 53 | + - environment_name: gpr |
| 54 | + - environment_name: npm |
| 55 | + - environment_name: release |
| 56 | +# https://docs.github.com/rest/issues/labels#create-a-label |
| 57 | +labels: |
| 58 | + - name: flag:breaking-change |
| 59 | + description: contains changes that require major version bump |
| 60 | + color: fbca04 |
| 61 | + - name: flag:duplicate |
| 62 | + description: issue, pull request, or discussion already exists |
| 63 | + color: fbca04 |
| 64 | + - name: flag:needs-discussion |
| 65 | + description: discussion required before implementation |
| 66 | + color: fbca04 |
| 67 | + - name: flag:needs-docs |
| 68 | + description: missing documentation or needs existing documentation update |
| 69 | + color: fbca04 |
| 70 | + - name: flag:needs-refactor |
| 71 | + description: code improvements required before being merged |
| 72 | + color: fbca04 |
| 73 | + - name: scope:config |
| 74 | + description: commitlint config |
| 75 | + color: 74cefc |
| 76 | + - name: scope:dependencies |
| 77 | + description: dependency updates |
| 78 | + color: 74cefc |
| 79 | + - name: scope:install |
| 80 | + description: package install |
| 81 | + color: 74cefc |
| 82 | + - name: scope:release |
| 83 | + description: package release |
| 84 | + color: 74cefc |
| 85 | + - name: scope:release |
| 86 | + description: package release |
| 87 | + color: 74cefc |
| 88 | + - name: scope:tests |
| 89 | + description: testing |
| 90 | + color: 74cefc |
| 91 | + - name: scope:ts |
| 92 | + description: typescript support |
| 93 | + color: 74cefc |
| 94 | + - name: status:awaiting-answers |
| 95 | + description: needs clarification or more information from author |
| 96 | + color: e7034b |
| 97 | + - name: status:blocked |
| 98 | + description: blocked by other work tracked in different issue |
| 99 | + color: e7034b |
| 100 | + - name: status:cannot-reproduce |
| 101 | + description: bug report cannot be reproduced |
| 102 | + color: e7034b |
| 103 | + - name: status:fixed |
| 104 | + description: fixed, but not released |
| 105 | + color: e7034b |
| 106 | + - name: status:help-wanted |
| 107 | + description: extra attention is needed |
| 108 | + color: e7034b |
| 109 | + - name: status:icebox |
| 110 | + description: changes that won't be implemented |
| 111 | + color: e7034b |
| 112 | + - name: status:invalid |
| 113 | + description: no action to be taken or missing information |
| 114 | + color: e7034b |
| 115 | + - name: status:merged |
| 116 | + description: merged, but not released |
| 117 | + color: e7034b |
| 118 | + - name: status:needs-triage |
| 119 | + description: needs further assessment |
| 120 | + color: e7034b |
| 121 | + - name: status:prereleased |
| 122 | + description: merged and prereleased |
| 123 | + color: e7034b |
| 124 | + - name: status:released |
| 125 | + description: merged and released |
| 126 | + color: e7034b |
| 127 | + - name: status:stale |
| 128 | + description: superseded by different issue, pull request, or discussion |
| 129 | + color: e7034b |
| 130 | + - name: status:triaged |
| 131 | + description: bug confirmed |
| 132 | + color: e7034b |
| 133 | + - name: status:wip |
| 134 | + description: work in progress |
| 135 | + color: e7034b |
| 136 | + - name: type:build |
| 137 | + description: changes to the build system or external dependencies |
| 138 | + color: 0052cc |
| 139 | + - name: type:chore |
| 140 | + description: housekeeping / changes that don't impact external users |
| 141 | + color: 0052cc |
| 142 | + - name: type:ci |
| 143 | + description: ci/cd configuration |
| 144 | + color: 0052cc |
| 145 | + - name: type:docs |
| 146 | + description: documentation improvements |
| 147 | + color: 0052cc |
| 148 | + - name: type:feat |
| 149 | + description: new features and improvements |
| 150 | + color: 0052cc |
| 151 | + - name: type:fix |
| 152 | + description: bug reports and fixes |
| 153 | + color: 0052cc |
| 154 | + - name: type:perf |
| 155 | + description: performance updates |
| 156 | + color: 0052cc |
| 157 | + - name: type:question |
| 158 | + description: questions |
| 159 | + color: 0052cc |
| 160 | + - name: type:refactor |
| 161 | + description: code improvements |
| 162 | + color: 0052cc |
| 163 | + - name: type:task |
| 164 | + description: project tasks |
| 165 | + color: 0052cc |
| 166 | +# https://docs.github.com/rest/repos/repos#update-a-repository |
| 167 | +repository: |
| 168 | + allow_auto_merge: true |
| 169 | + allow_merge_commit: false |
| 170 | + allow_rebase_merge: true |
| 171 | + allow_squash_merge: true |
| 172 | + allow_update_branch: true |
| 173 | + archived: false |
| 174 | + automated_security_fixes: true |
| 175 | + default_branch: main |
| 176 | + delete_branch_on_merge: true |
| 177 | + description: Shareable commitlint config enforcing conventional commit |
| 178 | + has_issues: true |
| 179 | + has_projects: true |
| 180 | + has_wiki: false |
| 181 | + homepage: https://github.com/flex-development/commitlint-config |
| 182 | + is_template: false |
| 183 | + private: false |
| 184 | + security_and_analysis: |
| 185 | + advanced_security: |
| 186 | + status: disabled |
| 187 | + secret_scanning: |
| 188 | + status: enabled |
| 189 | + secret_scanning_push_protection: |
| 190 | + status: disabled |
| 191 | + squash_merge_commit_message: BLANK |
| 192 | + squash_merge_commit_title: PR_TITLE |
| 193 | + topics: |
| 194 | + - cjs |
| 195 | + - commitlint |
| 196 | + - commitlint-config |
| 197 | + - conventional-changelog |
| 198 | + - conventional-commits-parser |
| 199 | + - esm |
| 200 | + - hybrid |
| 201 | + - typescript |
| 202 | + visibility: public |
| 203 | + vulnerability_alerts: true |
| 204 | + web_commit_signoff_required: true |
| 205 | +# https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions |
| 206 | +teams: |
| 207 | + - team_slug: dependabot-review |
| 208 | + permission: triage |
0 commit comments