Skip to content

Commit

Permalink
chore(config): migrate renovate config (#69)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Renovate change configh option from `stabilityDays` to `minimumReleaseAge`
  • Loading branch information
renovate[bot] authored and MaxymVlasov committed Apr 18, 2023
1 parent 2807ab3 commit 4fca174
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
},
Expand All @@ -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"],
},
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions default.template.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br>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,
Expand Down

0 comments on commit 4fca174

Please sign in to comment.