-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
infrastructure.yml
239 lines (239 loc) · 6.68 KB
/
infrastructure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# REPOSITORY INFRASTRUCTURE SETTINGS
---
# https://docs.github.com/rest/branches/branch-protection#update-branch-protection
branches:
- name: main
protection:
allow_deletions: false
allow_force_pushes: true
allow_fork_syncing: false
block_creations: false
enforce_admins: false
lock_branch: false
required_conversation_resolution: true
required_linear_history: true
required_pull_request_reviews:
bypass_pull_request_allowances: {}
dismiss_stale_reviews: true
dismissal_restrictions: {}
require_code_owner_reviews: false
require_last_push_approval: false
required_approving_review_count: 1
required_status_checks:
checks:
- context: add-to-project
- context: auto-merge
- context: build
- context: commitlint
- context: dbdocs
- context: dependabot-auto
- context: format
- context: ghcr
- context: gitguardian
- context: lint
- context: spelling
- context: test (16)
- context: test (18)
- context: test (19)
- context: test (20)
- context: typescript
strict: true
restrictions: null
# https://docs.github.com/rest/deployments/environments#create-or-update-an-environment
environments:
- environment_name: container
- environment_name: dbdocs
- environment_name: production
- environment_name: release
# https://docs.github.com/rest/issues/labels#create-a-label
labels:
- name: flag:breaking-change
description: contains changes that require major version bump
color: fbca04
- name: flag:duplicate
description: issue, pull request, or discussion already exists
color: fbca04
- name: flag:needs-discussion
description: discussion required before implementation
color: fbca04
- name: flag:needs-docs
description: missing documentation or needs existing documentation update
color: fbca04
- name: flag:needs-refactor
description: code improvements required before being merged
color: fbca04
- name: scope:auth
description: authentication
color: 74cefc
- name: scope:container
description: containerization
color: 74cefc
- name: scope:db
description: database
color: 74cefc
- name: scope:dependencies
description: dependency updates
color: 74cefc
- name: scope:docker
description: docker integration
color: 74cefc
- name: scope:esm
description: es modules
color: 74cefc
- name: scope:filters
description: global exception filters
color: 74cefc
- name: scope:gcp
description: google cloud platform
color: 74cefc
- name: scope:guards
description: global guards
color: 74cefc
- name: scope:interceptors
description: global interceptors
color: 74cefc
- name: scope:modules
description: global modules
color: 74cefc
- name: scope:nestjs
description: nestjs application
color: 74cefc
- name: scope:pipes
description: global pipes
color: 74cefc
- name: scope:release
description: project release
color: 74cefc
- name: scope:tests
description: testing
color: 74cefc
- name: scope:ts
description: typescript support
color: 74cefc
- name: scope:users
description: users subdomain
color: 74cefc
- name: scope:utils
description: utilities
color: 74cefc
- name: scope:vm
description: virtual machine
color: 74cefc
- name: status:awaiting-answers
description: needs clarification or more information from author
color: e7034b
- name: status:blocked
description: blocked by other work tracked in different issue
color: e7034b
- name: status:cannot-reproduce
description: bug report cannot be reproduced
color: e7034b
- name: status:fixed
description: fixed, but not released
color: e7034b
- name: status:help-wanted
description: extra attention is needed
color: e7034b
- name: status:icebox
description: changes that won't be implemented
color: e7034b
- name: status:invalid
description: no action to be taken or missing information
color: e7034b
- name: status:merged
description: merged, but not released
color: e7034b
- name: status:needs-triage
description: needs further assessment
color: e7034b
- name: status:prereleased
description: merged and prereleased
color: e7034b
- name: status:released
description: merged and released
color: e7034b
- name: status:stale
description: superseded by different issue, pull request, or discussion
color: e7034b
- name: status:triaged
description: bug confirmed
color: e7034b
- name: status:wip
description: work in progress
color: e7034b
- name: type:build
description: changes to the build system or external dependencies
color: 0052cc
- name: type:chore
description: housekeeping / changes that don't impact external users
color: 0052cc
- name: type:ci
description: ci/cd configuration
color: 0052cc
- name: type:docs
description: documentation improvements
color: 0052cc
- name: type:feat
description: new features and improvements
color: 0052cc
- name: type:fix
description: bug reports and fixes
color: 0052cc
- name: type:perf
description: performance updates
color: 0052cc
- name: type:question
description: questions
color: 0052cc
- name: type:refactor
description: code improvements
color: 0052cc
- name: type:task
description: project tasks
color: 0052cc
# https://docs.github.com/rest/repos/repos#update-a-repository
repository:
allow_auto_merge: true
allow_merge_commit: false
allow_rebase_merge: true
allow_squash_merge: true
allow_update_branch: true
archived: false
automated_security_fixes: true
default_branch: main
delete_branch_on_merge: true
description: 🚧 Demo users system API
has_issues: true
has_projects: true
has_wiki: false
homepage: https://github.com/flex-development/sneusers
is_template: false
private: false
security_and_analysis:
advanced_security:
status: disabled
secret_scanning:
status: enabled
secret_scanning_push_protection:
status: disabled
squash_merge_commit_message: BLANK
squash_merge_commit_title: PR_TITLE
topics:
- cloud-dns
- compute-engine
- docker
- docker-compose
- gcp
- mikro
- mikro-orm
- mongodb
- nestjs
- redis
- typescript
visibility: public
vulnerability_alerts: true
web_commit_signoff_required: true
# https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions
teams:
- team_slug: dependabot-review
permission: triage