Skip to content

Commit a8dac91

Browse files
Update team.yaml
1 parent 5846344 commit a8dac91

1 file changed

Lines changed: 11 additions & 21 deletions

File tree

.github/ISSUE_TEMPLATE/team.yaml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,38 @@
1-
name: "Team Request"
2-
description: "Request a new GitHub Team via PR"
3-
title: "[Team Request] TEAM-Name"
4-
labels: [team-request]
1+
name: Team Request
2+
description: Request a new GitHub team
3+
title: "[Team] TEAM-Name"
4+
labels: ["team-request"]
55
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
**Instructions:**
10-
1. Fill this form
11-
2. A PR will be created automatically
12-
3. After approval, the team will be created
13-
146
- type: input
157
id: team_name
168
attributes:
179
label: "Team Name"
18-
description: "Must start with 'TEAM-' (5-25 chars)"
19-
placeholder: "TEAM-example"
10+
description: "Must start with 'TEAM-' and be 5-25 characters"
11+
placeholder: "TEAM-backend"
2012
validations:
2113
required: true
2214
pattern: "^TEAM-[a-zA-Z0-9_-]{3,20}$"
23-
15+
2416
- type: dropdown
25-
id: privacy
17+
id: visibility
2618
attributes:
2719
label: "Visibility"
2820
options: ["Visible", "Secret"]
2921
validations:
3022
required: true
3123

3224
- type: textarea
33-
id: description
25+
id: purpose
3426
attributes:
3527
label: "Purpose"
36-
description: "What this team will manage"
3728
validations:
3829
required: true
3930

4031
- type: input
4132
id: maintainers
4233
attributes:
43-
label: "Maintainers"
44-
description: "Comma-separated GitHub usernames"
34+
label: "Maintainers (comma-separated)"
4535
placeholder: "user1,user2"
4636
validations:
4737
required: true
48-
pattern: "^[a-zA-Z0-9_-]+(,[a-zA-Z0-9_-]+)*$"
38+
pattern: "^[a-z0-9_-]+(,[a-z0-9_-]+)*$"

0 commit comments

Comments
 (0)