feat(gitea): commit the preset stub instead of asking for it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user