commit c222ec80cc1cf9adaab49a34540d3e418c1ea227 Author: Morre Date: Sun Jan 30 20:46:49 2022 +0100 feat: initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..097c439 --- /dev/null +++ b/README.md @@ -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. diff --git a/default.json b/default.json new file mode 100644 index 0000000..3fa4525 --- /dev/null +++ b/default.json @@ -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=(?.*?)\\sdepName=(?.*?)\\sENV .*?_VERSION=\"(?.*)\"" + ] + } + ], + "semanticCommits": "enabled", + "timezone": "UTC" +}