0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-19 11:32:28 +02:00
openvpn/renovate.json
Frank Lichtenheld 4788aaba07 GHA: Configure Renovate
Maintain GitHub actions and other version references
in GHA.

Switch some GHA references from branch versions to
tag version so the pinning works correctly.

Change-Id: I06253be7ed783e3bf30e7df1d6da8ca888016711
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Yuriy Darnobyt <yura.uddr@gmail.com>
Message-Id: <20240906151243.69549-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29087.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2024-09-08 13:57:11 +02:00

41 lines
1.2 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchDepTypes": [
"action"
],
"groupName": "github actions",
"pinDigests": true,
"extends": [
"schedule:monthly"
]
},
{
"matchDepNames": [
"vcpkg"
],
"extends": [
"schedule:monthly"
]
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"],
"matchStrings": ["vcpkgGitCommitId:\\s*(?<currentDigest>.*?)\\n"],
"currentValueTemplate": "master",
"depNameTemplate": "vcpkg",
"packageNameTemplate": "https://github.com/microsoft/vcpkg",
"datasourceTemplate": "git-refs"
},
{
"customType": "regex",
"fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"],
"matchStrings": ["versioning=(?<versioning>.*?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue>.*?)\\n"],
"datasourceTemplate": "github-tags"
}
]
}