Skip to content

Commit

Permalink
Add regexManagers to Renovate config 4
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Oct 21, 2024
1 parent c4ea5f8 commit 298b14f
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
"config:recommended",
":separateMultipleMajorReleases",
":separatePatchReleases",
"helpers:pinGitHubActionDigests",
"helpers:pinGitHubActionDigestsToSemver"
],
"regexManagers": [
{
"fileMatch": ["(^|/|\\.)Dockerfile$"],
"matchStrings": ["ENV MAILPIT_VERSION=(?<currentValue>.*?)\n"],
"depNameTemplate": "axllent/mailpit",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^{{{depName}}}\/(?<version>.*)$"
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"enabled": true,
"matchDatasources": [
"github-releases",
"github-tags"
],
"matchPackageNames": [
"axllent/mailpit"
],
"extractVersion": "^v(?<version>.*)$"
}
]
}

0 comments on commit 298b14f

Please sign in to comment.