Add digest handling

Added pinDigests: true explicit setting.
Added SHA regex
This commit is contained in:
Nick Fedor 2025-02-01 01:13:43 -07:00 committed by GitHub
parent c3d909fe65
commit 82f4307fcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,7 @@
schedule: [
'every weekend',
],
commitMessageAction: 'Update digest',
commitMessageTopic: '{{depName}}',
commitMessageExtra: 'to {{newVersion}}',
commitMessageSuffix: '',
@ -29,12 +30,14 @@
matchManagers: [
'github-actions',
],
pinDigests: true,
automerge: true,
automergeType: 'branch',
ignoreTests: true,
matchUpdateTypes: [
'minor',
'patch',
'digest',
],
},
{
@ -203,5 +206,14 @@
],
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",
},
],
}