Skip to content

Commit

Permalink
Merge pull request #4 from damoun/improve-config
Browse files Browse the repository at this point in the history
feat: improve configuration
  • Loading branch information
damoun authored Jun 9, 2024
2 parents 1c5a207 + 551971c commit e7d5330
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 10 deletions.
68 changes: 58 additions & 10 deletions default.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,69 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"additionalBranchPrefix": "{{manager}}/",
"commitBodyTable": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"extends": [
"config:recommended",
":dependencyDashboard",
":enablePreCommit",
":ignoreUnstable",
":semanticCommits",
":semanticPrefixFixDepsChoreOthers",
":separateMultipleMajorReleases",
":separateMultipleMajorReleases",
":timezone(Europe/Amsterdam)",
":dependencyDashboard",
"docker:enableMajor",
"docker:pinDigests",
":enablePreCommit",
":assignee(damoun)"
"group:recommended",
"helpers:pinGitHubActionDigests",
"preview:dockerCompose",
"preview:dockerVersions",
"regexManagers:dockerfileVersions",
"regexManagers:githubActionsVersions"
],
"kubernetes": {
"fileMatch": [
"\\.ya?ml$"
]
},
"labels": [
"dependencies",
"{{updateType}}",
"{{manager}}"
],
"minimumReleaseAge": "3 days",
"onboarding": true,
"requireConfig": "required",
"timezone": "Europe/Amsterdam",
"dependencyDashboardTitle": "Renovate Dashboard",
"commitBodyTable": true,
"packageRules": [
{
"description": "v prefix workaround for action updates",
"extractVersion": "^(?<version>v\\d+\\.\\d+\\.\\d+)$",
"matchDepTypes": [
"action"
],
"versioning": "regex:^v(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+))?$"
},
{
"description": "Remove v prefix in regex `_VERSION` updates",
"extractVersion": "^?v?(?<version>\\d+\\.\\d+\\.\\d+.*)$",
"matchManagers": [
"regex"
],
"versioning": "regex:^v?(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+.*))?$"
}
],
"prCreation": "not-pending",
"rebaseWhen": "conflicted",
"additionalBranchPrefix": "{{manager}}/",
"labels": ["dependencies", "{{updateType}}", "{{manager}}"]
}
"requireConfig": "required",
"rollbackPrs": true,
"schedule": [
"after 4am on monday and tuesday"
],
"vulnerabilityAlerts": {
"addLabels": [
"security"
],
"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
}
}
8 changes: 8 additions & 0 deletions weekday.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"github>damoun/renovate-config"
],
"schedule": [
"after 10:00 before 18:00 every weekday except after 12:00 before 14:00"
]
}

0 comments on commit e7d5330

Please sign in to comment.