feat: initial commit
This commit is contained in:
commit
c222ec80cc
|
|
@ -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.
|
||||||
|
|
@ -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"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue