feat: add required name field to PR template (#7)
## Description Gitea requires a `name` field in the frontmatter of pull request templates. This PR adds the required `name: "Default Template"` field to fix the template validation error. Additionally updates CLAUDE.md to reference the PR template format and use lowercase for PR title placeholder. ## Benefits - The pull request template is now valid and will be properly loaded by Gitea. - Users creating PRs will see the template automatically populated. - CLAUDE.md now documents the PR template format for consistency. ## Checklist - [x] Code follows conventional commit format. - [x] Branch follows naming convention (`<type>/<description>`). - [x] Tests pass (if applicable). - [x] Documentation updated (if applicable). Reviewed-on: #7 Co-authored-by: M.V. Hutz <git@maximhutz.me> Co-committed-by: M.V. Hutz <git@maximhutz.me>
This commit was merged in pull request #7.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
---
|
||||
name: "Default Template"
|
||||
title: "<type>: <description>"
|
||||
---
|
||||
|
||||
@@ -27,6 +28,6 @@ How would this PR improve the codebase/product?
|
||||
## Checklist
|
||||
|
||||
- [ ] Code follows conventional commit format.
|
||||
- [ ] Branch follows naming convention (`<type>/<description>`).
|
||||
- [ ] Branch follows naming convention (`<type>/<description>`). Always use underscores.
|
||||
- [ ] Tests pass (if applicable).
|
||||
- [ ] Documentation updated (if applicable).
|
||||
|
||||
@@ -51,4 +51,4 @@ Use the `tea` CLI (Gitea command-line tool) for PR operations instead of `gh`.
|
||||
|
||||
**Note**: Use `--description` (not `--body`) for PR body content.
|
||||
|
||||
**Creating PRs**: Always create PRs in a branch other than `main`, to the `main` branch unless specified otherwise.
|
||||
**Creating PRs**: Always create PRs in a branch other than `main`, to the `main` branch unless specified otherwise. ALWAYS FOLLOW THE PR TEMPLATE, EXACTLY.
|
||||
|
||||
Reference in New Issue
Block a user