feat: initial commit

This commit is contained in:
Morre 2022-01-30 20:46:49 +01:00
commit c222ec80cc
Signed by: morre
GPG Key ID: BFED22AA844DE3A8
2 changed files with 60 additions and 0 deletions

25
README.md Normal file
View File

@ -0,0 +1,25 @@
# renovate-config
These are Morres best practice configurations for renovate.
## Usage
Check [docs.renovatebot.com/config-presets](https://docs.renovatebot.com/config-presets/) for details on config presets.
Renovate will open a „Dependency Dashboard“ issue in each repository, tracking outstanding or rejected updates. This issue will have three sections:
* **Awaiting Schedule**: renovate has detected an update, but has not yet run during the scheduled time to open Pull Requests (see the `schedule` configuration)
* **Open**: There is an open Pull Request for those updates
* **Ignored or Blocked**: Those updates are blocked because the existing Pull Request was closed.
To use the `default.json` configuration, put the following content in your local repository's `renovate.json` file:
```json
{
"extends": ["local>open/renovate-config"]
}
```
:warning: This configuration will change with the best practices Morre uses. If you want to review changes before applying them, [pin your extension](https://docs.renovatebot.com/config-presets/#github).
[This default configuration](default.json) has a `description` list that will give you an overview over the settings we use by default.

35
default.json Normal file
View File

@ -0,0 +1,35 @@
{
"extends": [
"group:monorepos",
"group:recommended",
"workarounds:typesNodeVersioning"
],
"dependencyDashboard": true,
"description": [
"Use Morres Best Practice configuration from [git.mor.re/open/renovate-config](https://git.mor.re/open/renovate-config)",
"Create a Dependency Dashboard as Issue, listing all upgrades",
"Label all PRs with `renovate`",
"Use semantic commit messages for all upgrades",
"Upgrade arbitrary dependencies in Dockerfiles when you mark them"
],
"pre-commit": {
"enabled": true
},
"labels": [
"renovate"
],
"rangeStrategy": "auto",
"regexManagers": [
{
"description": "Upgrade arbitrary dependencies in a Dockerfile declared via ENV variables",
"fileMatch": [
"(^|/)Dockerfile$"
],
"matchStrings": [
"datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\sENV .*?_VERSION=\"(?<currentValue>.*)\""
]
}
],
"semanticCommits": "enabled",
"timezone": "UTC"
}