1
0
mirror of https://github.com/siderolabs/kres.git synced 2026-02-05 09:45:35 +01:00

chore: setup renovate to track refs/digests of actions

Update renovate expressions.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
Andrey Smirnov
2025-12-02 15:05:17 +04:00
parent a1a34ff9f1
commit 571923f1bc
2 changed files with 2 additions and 28 deletions

18
.github/renovate.json vendored
View File

@@ -16,7 +16,7 @@
"/internal/config/constants.go/"
],
"matchStrings": [
"\\/\\/\\s+renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s.*Version\\s+=\\s+\\\"(?<currentValue>.+?)\\\""
"\\/\\/\\s+renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s.*Version\\s+=\\s+\\\"(?<currentValue>.+?)\\\"(?:\\s.*Ref\\s+=\\s+\\\"(?<currentDigest>.+?)\\\")?"
]
}
],
@@ -49,22 +49,6 @@
"golang/go"
]
},
{
"versioning": "regex:^v(?<major>\\d+)",
"matchPackageNames": [
"actions/checkout",
"docker/login-action",
"softprops/action-gh-release",
"docker/setup-buildx-action",
"slackapi/slack-github-action"
]
},
{
"versioning": "regex:^v(?<major>\\d+)_(?<minor>\\d+)_?(?<patch>\\d+)?$",
"matchPackageNames": [
"potiuk/get-workflow-origin"
]
},
{
"enabled": false,
"matchFileNames": [

View File

@@ -77,22 +77,12 @@ spec:
managerFilePatterns:
- internal/config/constants.go
matchStrings:
- '\/\/\s+renovate: datasource=(?<datasource>.*?)(?:\s+extractVersion=(?<extractVersion>.+?))?(?:\s+versioning=(?<versioning>.+?))?\s+depName=(?<depName>.+?)?\s.*Version\s+=\s+\"(?<currentValue>.+?)\"'
- '\/\/\s+renovate: datasource=(?<datasource>.*?)(?:\s+extractVersion=(?<extractVersion>.+?))?(?:\s+versioning=(?<versioning>.+?))?\s+depName=(?<depName>.+?)?\s.*Version\s+=\s+\"(?<currentValue>.+?)\"(?:\s.*Ref\s+=\s+\"(?<currentDigest>.+?)\")?'
versioningTemplate: "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
packageRules:
- matchPackageNames:
- golang/go
versioning: 'regex:^(?<major>\d+)\.(?<minor>\d+)\.?(?<patch>\d+)?$'
- matchPackageNames:
- actions/checkout
- docker/login-action
- softprops/action-gh-release
- docker/setup-buildx-action
- slackapi/slack-github-action
versioning: 'regex:^v(?<major>\d+)'
- matchPackageNames:
- potiuk/get-workflow-origin
versioning: 'regex:^v(?<major>\d+)_(?<minor>\d+)_?(?<patch>\d+)?$'
- enabled: false
matchFileNames:
- internal/output/dockerfile/dockerfile_test.go