mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
Add digest handling
Added pinDigests: true explicit setting. Added SHA regex
This commit is contained in:
parent
c3d909fe65
commit
82f4307fcd
1 changed files with 12 additions and 0 deletions
12
.github/renovate.json5
vendored
12
.github/renovate.json5
vendored
|
|
@ -18,6 +18,7 @@
|
||||||
schedule: [
|
schedule: [
|
||||||
'every weekend',
|
'every weekend',
|
||||||
],
|
],
|
||||||
|
commitMessageAction: 'Update digest',
|
||||||
commitMessageTopic: '{{depName}}',
|
commitMessageTopic: '{{depName}}',
|
||||||
commitMessageExtra: 'to {{newVersion}}',
|
commitMessageExtra: 'to {{newVersion}}',
|
||||||
commitMessageSuffix: '',
|
commitMessageSuffix: '',
|
||||||
|
|
@ -29,12 +30,14 @@
|
||||||
matchManagers: [
|
matchManagers: [
|
||||||
'github-actions',
|
'github-actions',
|
||||||
],
|
],
|
||||||
|
pinDigests: true,
|
||||||
automerge: true,
|
automerge: true,
|
||||||
automergeType: 'branch',
|
automergeType: 'branch',
|
||||||
ignoreTests: true,
|
ignoreTests: true,
|
||||||
matchUpdateTypes: [
|
matchUpdateTypes: [
|
||||||
'minor',
|
'minor',
|
||||||
'patch',
|
'patch',
|
||||||
|
'digest',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -203,5 +206,14 @@
|
||||||
],
|
],
|
||||||
datasourceTemplate: "docker",
|
datasourceTemplate: "docker",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
customType: "regex",
|
||||||
|
description: ["Process GitHub Actions commits"],
|
||||||
|
fileMatch: ["\\.github/workflows/.*\\.ya?ml$"],
|
||||||
|
matchStrings: [
|
||||||
|
"uses: (?<depName>[^@/]+/[^@/]+)@(?<currentValue>[a-f0-9]{40})", // Matches SHA for GitHub Actions
|
||||||
|
],
|
||||||
|
datasourceTemplate: "github",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue