feat(gitea): commit the preset stub instead of asking for it

This commit is contained in:
hh
2026-09-10 16:06:27 +00:00
parent 454be36bec
commit d7e948df33
2 changed files with 42 additions and 23 deletions
+4 -9
View File
@@ -27,15 +27,10 @@ today these were created by hand for every repo.
giteaproject ms-agents/my-thing
```
Then drop a `renovate.jsonc` into the repo root with nothing but the shared
preset:
```json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>templates/renovate"]
}
```
It creates the labels and, if the repo has no `renovate.jsonc` yet, commits one
that is nothing but an `extends` on the shared preset in `templates/renovate`.
Projects rendered by `newproject` already carry that file from the `infra`
template, so for them the command only does the labels.
**Extending the preset does not subscribe the repo to anything.** The bot walks
an explicit list, so the repo also has to be added to `repositories` in