Provide reusable presets for the most common dependency types in Gitea projects #97

Merged
lunny merged 5 commits from justusbunsi/renovate-config:reusable-presets into main 2023-12-26 03:11:39 +00:00
2 changed files with 31 additions and 0 deletions
Showing only changes of commit bb0dc2f506 - Show all commits

@ -50,6 +50,25 @@ Usage:
}
```
### Workflow dependency group
What it does:
- Groups all workflow dependencies into one PR
- Respects your repository's `separateMajorMinor` setting[^1]
Usage:
```diff
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:workflow-deps"
]
}
```
[^1]: [Renovate Docs: separateMajorMinor](https://docs.renovatebot.com/configuration-options/#separatemajorminor)
[^2]: [Renovate Docs: postUpdateOptions](https://docs.renovatebot.com/configuration-options/#postupdateoptions)
[^3]: [Renovate Docs: npm dependency types](https://docs.renovatebot.com/modules/manager/npm/#additional-information)

12
workflow-deps.json Normal file

@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"github-actions": {
"enabled": true
},
"packageRules": [
{
"groupName": "workflow dependencies",
"matchManagers": ["github-actions"]
}
]
}