Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!(config): migrate renovate config stabilityDays -> minimumReleaseAge #69

Merged
merged 5 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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