Skip to content

Commit 2a58dc2

Browse files
fix(github): remove invalid title field from issue form templates (tldraw#8899)
## Summary Fixes tldraw#8869. YAML issue form templates fail GitHub validation because of `title: ''` — empty strings are not allowed for the `title` key per [GitHub's docs](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/common-validation-errors-when-creating-issue-forms). When validation fails, templates are hidden from the new issue chooser. - Removed `title: ''` from all four templates. - Removed `type: Example` from `example_request.yml` — Bug, Feature, and Task are configured org issue types, but Example is not. - Kept `type: Bug|Feature|Task` in the other three templates (these are valid; recent issues like tldraw#8898, tldraw#8894, tldraw#8889 carry these types). ### Change type - [x] `bugfix` ## Test plan - [ ] All four templates appear in the new issue chooser on GitHub - [ ] No validation banner shown when viewing template files on GitHub - [ ] Submit a test bug report successfully and confirm Bug type is applied
1 parent 8b698cf commit 2a58dc2

4 files changed

Lines changed: 0 additions & 5 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Bug report
22
description: File a bug report
33
type: Bug
4-
title: ''
54
labels: []
65
assignees: []
76
body:

.github/ISSUE_TEMPLATE/example_request.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Example request
22
description: Submit a request for an example
3-
type: Example
4-
title: ''
53
labels: []
64
assignees: []
75
body:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Feature request
22
description: Suggest a new feature or improvement
33
type: Feature
4-
title: ''
54
labels: []
65
assignees: []
76
body:

.github/ISSUE_TEMPLATE/task.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Task
22
description: Create a task
33
type: Task
4-
title: ''
54
labels: []
65
assignees: []
76
body:

0 commit comments

Comments
 (0)