From 4fca17490a8b2dd8df39ca93d26f50d1fb106473 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Apr 2023 20:27:50 +0300 Subject: [PATCH] chore(config): migrate renovate config (#69) BREAKING CHANGE: Renovate change configh option from `stabilityDays` to `minimumReleaseAge` --- .github/renovate.json5 | 3 +-- .pre-commit-config.yaml | 2 +- default.template.json5 | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index e00b057..0b65812 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -10,7 +10,7 @@ separateMinorPatch: false, automergeType: "branch", separateMinorPatch: false, - stabilityDays: 0, + minimumReleaseAge: null, // Main pre-commit check run "after 4am on monday", this - before 3am. extends: ["schedule:earlyMondays"], }, @@ -19,7 +19,6 @@ automerge: true, separateMinorPatch: false, automergeType: "branch", - separateMinorPatch: false, // Main pre-commit check run "after 4am on monday", this - before 3am. extends: ["schedule:earlyMondays"], }, diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71cdfcb..0adcb90 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,7 @@ repos: files: 'renovate.json5$' - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 35.19.0 + rev: 35.53.0 hooks: - id: renovate-config-validator files: default.template.json5 diff --git a/default.template.json5 b/default.template.json5 index 9f78071..c53b445 100644 --- a/default.template.json5 +++ b/default.template.json5 @@ -34,8 +34,8 @@ "dependencyDashboardHeader": "This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
Main configs and useful links are located in [SpotOnInc/renovate-config](https://github.com/SpotOnInc/renovate-config); Renovate logs for debug [here](https://app.renovatebot.com/dashboard#{{platform}}/{{repository}}).", // Limit branch creation to these times of day or week. | https://docs.renovatebot.com/configuration-options/#schedule "schedule": ["after 4am on monday"], - // Wait at least 3 days for possible fixes before creating a branch/PR. | https://docs.renovatebot.com/configuration-options/#stabilitydays - "stabilityDays": 3, + // Wait at least 3 days for possible fixes before creating a branch/PR. | https://docs.renovatebot.com/configuration-options/#minimumreleaseage + "minimumReleaseAge": "3 days", // Create PRs to roll back versions // if the current version is not found in the registry. | https://docs.renovatebot.com/configuration-options/#rollbackprs "rollbackPrs": true,