Skip to content

Commit

Permalink
change default.template.json5 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
burritoatspoton committed Jan 29, 2024
1 parent e418ffe commit f3e72d6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
26 changes: 15 additions & 11 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,28 @@
":semanticCommits",
":semanticPrefixFixDepsChoreOthers",
"regexManagers:dockerfileVersions",
"regexManagers:githubActionsVersions"
"regexManagers:githubActionsVersions",
],
"dependencyDashboardTitle": "Renovate Dependency Dashboard",
"dependencyDashboardLabels": ["auto-update"],
"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://developer.mend.io/{{platform}}/{{repository}}).",
"minimumReleaseAge": "3 days",
"rollbackPrs": true,
"addLabels": ["auto-update"],
"addLabels": [
"auto-update",
],
"configMigration": true,
"prCreation": "not-pending",
"vulnerabilityAlerts": {
"description": "Be sure that the Dependency graph and Dependabot alerts are enabled for the repo. Details: https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts",
"enabled": true,
"addLabels": ["security"]
"addLabels": ["security"],
},
"terraform": {
"ignorePaths": ["**/context.tf"],
"pinDigests": true
"ignorePaths": [
"**/context.tf",
],
"pinDigests": true,
},
"pre-commit": {
"enabled": true
Expand All @@ -51,13 +55,13 @@
"versioning": "regex:^v?(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+.*))?$"
},
{
"matchDatasources": ["docker"],
"schedule": ["after 4am on monday and tuesday"]
matchDatasources: ["docker"],
schedule: ["after 4am on monday and tuesday"],
},
{
"matchManagers": ["regex"],
"schedule": ["after 4am on monday and tuesday"]
}
matchManagers: ["regex"],
schedule: ["after 4am on monday and tuesday"],
},
],
"schedule": ["after 4am on tuesday"]
schedule: ["after 4am on tuesday"],
}
26 changes: 11 additions & 15 deletions default.template.json5
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// Update `_VERSION` variables in Dockerfiles. | https://docs.renovatebot.com/presets-regexManagers/#regexmanagersdockerfileversions
"regexManagers:dockerfileVersions",
// Update `_VERSION` environment variables in GitHub Action files. | https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions
"regexManagers:githubActionsVersions",
"regexManagers:githubActionsVersions"
],

// Dependency Dashboard issue customization. | https://docs.renovatebot.com/configuration-options/#dependencydashboard
Expand All @@ -38,9 +38,7 @@
// if the current version is not found in the registry. | https://docs.renovatebot.com/configuration-options/#rollbackprs
"rollbackPrs": true,
// All matched addLabels strings will be attached to the PR. | https://docs.renovatebot.com/configuration-options/#addlabels
"addLabels": [
"auto-update",
],
"addLabels": ["auto-update"],
// Sometimes you need to change your Renovate configuration.
// To help with this, Renovate will create config migration pull requests. | https://docs.renovatebot.com/configuration-options/#configmigration
"configMigration": true,
Expand All @@ -52,14 +50,12 @@
"description": "Be sure that the Dependency graph and Dependabot alerts are enabled for the repo. Details: https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts",
"enabled": true,
// Append `security` label.
"addLabels": ["security"],
"addLabels": ["security"]
},
// Terraform manager custom settings | https://docs.renovatebot.com/modules/manager/terraform/
"terraform": {
"ignorePaths": [
"**/context.tf", // Cloud Posse managed
],
"pinDigests": true, // Make versions idempotent
"ignorePaths": ["**/context.tf"], // Cloud Posse managed
"pinDigests": true // Make versions idempotent
},
// In beta. Need opt-in. Details - https://docs.renovatebot.com/modules/manager/pre-commit/
"pre-commit": {
Expand All @@ -85,18 +81,18 @@
{
// Extend the update period because of Docker Hub API rate limits.
// That can be avoided by making a self-hosted Renovate and providing a token.
matchDatasources: ["docker"],
schedule: ["after 4am on monday and tuesday"],
"matchDatasources": ["docker"],
"schedule": ["after 4am on monday and tuesday"]
},
{
// Extend the update period because of Docker Hub API rate limits.
// That can be avoided by making a self-hosted Renovate and providing a token.
matchManagers: ["regex"],
schedule: ["after 4am on monday and tuesday"],
},
"matchManagers": ["regex"],
"schedule": ["after 4am on monday and tuesday"]
}
],
// Limit branch creation to these times of day or week. | https://docs.renovatebot.com/configuration-options/#schedule
// Deal with docker updates firstly (on Monday) to workaround problems with Docker Rate limits
// Other idea - update them in different days at all. IE - docker only tue-wed, other stuff - Monday
schedule: ["after 4am on tuesday"],
"schedule": ["after 4am on tuesday"]
}

0 comments on commit f3e72d6

Please sign in to comment.