-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
dac076f
commit 4788aab
Showing
2 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$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" | ||
} | ||
] | ||
} |