Commit 2a58dc2
authored
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
applied1 parent 8b698cf commit 2a58dc2
4 files changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments