Skip to content

Commit 96be03f

Browse files
committed
ci(workflows): add infrastructure
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent d40ecee commit 96be03f

File tree

4 files changed

+263
-195
lines changed

4 files changed

+263
-195
lines changed

.github/infrastructure.yml

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
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: commitlint
34+
- context: dependabot-auto
35+
- context: format
36+
- context: gitguardian
37+
- context: lint
38+
- context: spelling
39+
- context: test (16)
40+
- context: test (18)
41+
- context: test (19)
42+
- context: typescript (5.0.4)
43+
- context: typescript (latest)
44+
- context: typescript (~4.7.0)
45+
- context: typescript (~4.8.0)
46+
- context: typescript (~4.9.0)
47+
strict: true
48+
restrictions: null
49+
# https://docs.github.com/rest/deployments/environments#create-or-update-an-environment
50+
environments:
51+
- environment_name: gpr
52+
- environment_name: npm
53+
- environment_name: release
54+
# https://docs.github.com/rest/issues/labels#create-a-label
55+
labels:
56+
- name: flag:breaking-change
57+
description: contains changes that require major version bump
58+
color: fbca04
59+
- name: flag:duplicate
60+
description: issue, pull request, or discussion already exists
61+
color: fbca04
62+
- name: flag:needs-discussion
63+
description: discussion required before implementation
64+
color: fbca04
65+
- name: flag:needs-docs
66+
description: missing documentation or needs existing documentation update
67+
color: fbca04
68+
- name: flag:needs-refactor
69+
description: code improvements required before being merged
70+
color: fbca04
71+
- name: scope:dependencies
72+
description: dependency updates
73+
color: 74cefc
74+
- name: scope:esm
75+
description: es modules
76+
color: 74cefc
77+
- name: scope:install
78+
description: package install
79+
color: 74cefc
80+
- name: scope:regex
81+
description: regular expressions
82+
color: 74cefc
83+
- name: scope:release
84+
description: package release
85+
color: 74cefc
86+
- name: scope:tests
87+
description: testing
88+
color: 74cefc
89+
- name: scope:ts
90+
description: typescript support
91+
color: 74cefc
92+
- name: status:awaiting-answers
93+
description: needs clarification or more information from author
94+
color: e7034b
95+
- name: status:blocked
96+
description: blocked by other work tracked in different issue
97+
color: e7034b
98+
- name: status:cannot-reproduce
99+
description: bug report cannot be reproduced
100+
color: e7034b
101+
- name: status:fixed
102+
description: fixed, but not released
103+
color: e7034b
104+
- name: status:help-wanted
105+
description: extra attention is needed
106+
color: e7034b
107+
- name: status:icebox
108+
description: changes that won't be implemented
109+
color: e7034b
110+
- name: status:invalid
111+
description: no action to be taken or missing information
112+
color: e7034b
113+
- name: status:merged
114+
description: merged, but not released
115+
color: e7034b
116+
- name: status:needs-triage
117+
description: needs further assessment
118+
color: e7034b
119+
- name: status:prereleased
120+
description: merged and prereleased
121+
color: e7034b
122+
- name: status:released
123+
description: merged and released
124+
color: e7034b
125+
- name: status:stale
126+
description: superseded by different issue, pull request, or discussion
127+
color: e7034b
128+
- name: status:triaged
129+
description: bug confirmed
130+
color: e7034b
131+
- name: status:wip
132+
description: work in progress
133+
color: e7034b
134+
- name: type:build
135+
description: changes to the build system or external dependencies
136+
color: 0052cc
137+
- name: type:chore
138+
description: housekeeping / changes that don't impact external users
139+
color: 0052cc
140+
- name: type:ci
141+
description: ci/cd configuration
142+
color: 0052cc
143+
- name: type:docs
144+
description: documentation improvements
145+
color: 0052cc
146+
- name: type:feat
147+
description: new features and improvements
148+
color: 0052cc
149+
- name: type:fix
150+
description: bug reports and fixes
151+
color: 0052cc
152+
- name: type:perf
153+
description: performance updates
154+
color: 0052cc
155+
- name: type:question
156+
description: questions
157+
color: 0052cc
158+
- name: type:refactor
159+
description: code improvements
160+
color: 0052cc
161+
- name: type:task
162+
description: project tasks
163+
color: 0052cc
164+
# https://docs.github.com/rest/repos/repos#update-a-repository
165+
repository:
166+
allow_auto_merge: true
167+
allow_merge_commit: false
168+
allow_rebase_merge: true
169+
allow_squash_merge: true
170+
allow_update_branch: true
171+
archived: false
172+
automated_security_fixes: true
173+
default_branch: main
174+
delete_branch_on_merge: true
175+
description: Export statement regex
176+
has_issues: true
177+
has_projects: true
178+
has_wiki: false
179+
homepage: https://github.com/flex-development/export-regex
180+
is_template: false
181+
private: false
182+
security_and_analysis:
183+
advanced_security:
184+
status: disabled
185+
secret_scanning:
186+
status: enabled
187+
secret_scanning_push_protection:
188+
status: disabled
189+
squash_merge_commit_message: BLANK
190+
squash_merge_commit_title: PR_TITLE
191+
topics:
192+
- ecmascript
193+
- export
194+
- regex
195+
- typescript
196+
visibility: public
197+
vulnerability_alerts: true
198+
web_commit_signoff_required: true
199+
# https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions
200+
teams:
201+
- team_slug: dependabot-review
202+
permission: triage

.github/labels.yml

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)