Note WIP title required for Gitea draft PRs

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-07 08:40:44 +03:30
parent f59cfd2bf6
commit 0633d29e94

View File

@@ -49,6 +49,15 @@ EOF
- Title: short, imperative (same style as commit messages; prefer under 20 words).
- Return the PR URL from tea output (e.g. `https://git.faryad.top/rhino/product-slip/pulls/N`).
### Draft PRs
`tea pulls create` has no `--draft` flag. This Gitea marks a PR as draft when the title starts with `WIP:` (API `draft: true` alone is ignored / cleared if the prefix is removed).
For a draft PR, either:
- Create with `--title "WIP: <title>"`, or
- `POST /api/v1/repos/rhino/product-slip/pulls` with `"draft": true` **and** a `WIP:` title (token from `tea` login in `~/.config/tea/config.yml`).
## Merge PR
```bash