Skip to content

Commit

Permalink
chore(config): migrate renovate config
Browse files Browse the repository at this point in the history
PR: #117
Co-authored-by: Johan Bergström <[email protected]>
  • Loading branch information
renovate[bot] and jbergstroem authored Dec 30, 2024
1 parent 279ba9a commit 138a7f3
Showing 1 changed file with 42 additions and 15 deletions.
57 changes: 42 additions & 15 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,64 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"baseBranches": ["main"],
"baseBranches": [
"main"
],
"timezone": "Europe/Lisbon",
"schedule": ["before 9pm on sunday"],
"extends": [":dependencyDashboard", ":disableRateLimiting", ":semanticCommits"],
"schedule": [
"before 9pm on sunday"
],
"extends": [
":dependencyDashboard",
":disableRateLimiting",
":semanticCommits"
],
"rangeStrategy": "pin",
"enabledManagers": ["github-actions", "regex", "npm"],
"enabledManagers": [
"github-actions",
"custom.regex",
"npm"
],
"commitMessageAction": "",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "{{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{prettyNewMajor}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}{{/if}}",
"packageRules": [
{
"matchManagers": ["github-actions"],
"matchManagers": [
"github-actions"
],
"commitMessageTopic": "{{depName}}"
},
{
"matchPackagePatterns": ["actionlint"],
"commitMessageTopic": "actionlint"
"commitMessageTopic": "actionlint",
"matchPackageNames": [
"/actionlint/"
]
},
{
"matchPackagePatterns": ["typos"],
"commitMessageTopic": "typos"
"commitMessageTopic": "typos",
"matchPackageNames": [
"/typos/"
]
},
{
"matchPackagePatterns": ["bun"],
"rangeStrategy": "in-range-only"
"rangeStrategy": "in-range-only",
"matchPackageNames": [
"/bun/"
]
},
{
"matchPackageNames": ["msw"],
"matchPackageNames": [
"msw"
],
"allowedVersions": "<=2.4.3"
}
],
"regexManagers": [
"customManagers": [
{
"fileMatch": ["^\\.github/workflows/[^/]+\\.yml$"],
"customType": "regex",
"fileMatch": [
"^\\.github/workflows/[^/]+\\.yml$"
],
"matchStrings": [
"version: \"(?<currentValue>.*?)\"\\s+run: curl -Ls( -o \\w+)? \"https://github.com/(?<depName>.*?)/releases/download.*",
"https://github\\.com/(?<depName>.*?)/archive/refs/tags/v(?<currentValue>.*?)\\.tar\\.gz"
Expand All @@ -43,7 +68,9 @@
}
],
"rebaseWhen": "never",
"labels": ["type: dependencies"],
"labels": [
"dependencies"
],
"prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{controls}}}{{{footer}}}",
"prHeader": "",
"prFooter": ""
Expand Down

0 comments on commit 138a7f3

Please sign in to comment.