mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
feat(renovate/mise): add Go, Cargo, non-specific package managers
This commit is contained in:
65
.renovate/mise.json5
Normal file
65
.renovate/mise.json5
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
//"mise": { "enabled": false },
|
||||
"packageRules": [
|
||||
{
|
||||
"matchFileNames": [".mise.toml", "mise.toml"],
|
||||
"semanticCommitType": "chore",
|
||||
"semanticCommitScope": "mise",
|
||||
"addLabels": ["renovate/mise"]
|
||||
}
|
||||
],
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Process Go packages in mise.toml",
|
||||
"fileMatch": [".mise.toml", "mise.toml"],
|
||||
"matchStrings": [
|
||||
"\"go:(?<packageName>[\\w\\-\\/]+)\" = \\[?\"(?<currentValue>[\\d\\.]+)\""
|
||||
],
|
||||
"datasourceTemplate": "go",
|
||||
"versioningTemplate": "semver"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Process cargo packages in mise.toml",
|
||||
"fileMatch": [".mise.toml", "mise.toml"],
|
||||
"matchStrings": [
|
||||
"\"cargo:(?<packageName>[\\w\\-\\/]+)\" = \\[?\"(?<currentValue>[\\d\\.]+)\""
|
||||
],
|
||||
"datasourceTemplate": "crate",
|
||||
"versioningTemplate": "cargo"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Process npm packages in mise.toml",
|
||||
"fileMatch": [".mise.toml", "mise.toml"],
|
||||
"matchStrings": [
|
||||
"\"npm:(?<packageName>@?[\\w\\-\\/]+)\" = \\[?\"(?<currentValue>[\\d\\.]+)\""
|
||||
],
|
||||
"datasourceTemplate": "npm",
|
||||
"versioningTemplate": "semver"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Process pipx packages in mise.toml",
|
||||
"fileMatch": [".mise.toml", "mise.toml"],
|
||||
"matchStrings": [
|
||||
"\"pipx:(?<packageName>[\\w\\-\\.]+)\" = \\[?\"(?<currentValue>[\\d\\.]+|latest)\""
|
||||
],
|
||||
"datasourceTemplate": "pypi",
|
||||
"versioningTemplate": "pep440"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Process aqua and ubi packages in mise.toml",
|
||||
"fileMatch": [".mise.toml", "mise.toml"],
|
||||
"matchStrings": [
|
||||
"\"?(?:aqua:|ubi:)?(?<packageName>[\\w\\-]+\\/[\\w\\-]+)\"? = \\[?\"(?<currentValue>[\\d\\.]+|latest|v[\\d\\.]+)\""
|
||||
],
|
||||
"datasourceTemplate": "github-releases",
|
||||
"versioningTemplate": "semver",
|
||||
"extractVersionTemplate": "^v?(?<version>.*)$"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -19,7 +19,8 @@
|
||||
"github>JJGadgets/Biohazard//.renovate/commitMessage.json5",
|
||||
"github>JJGadgets/Biohazard//.renovate/labels.json5",
|
||||
"github>JJGadgets/Biohazard//.renovate/security.json5",
|
||||
"github>mirceanton/renovate-config//custom-manager-mise.json5#563f485db859084f436e7ce9ff30587263fdec12",
|
||||
"github>JJGadgets/Biohazard//.renovate/mise.json5",
|
||||
//"github>mirceanton/renovate-config//custom-manager-mise.json5#563f485db859084f436e7ce9ff30587263fdec12",
|
||||
"security:openssf-scorecard",
|
||||
"helpers:pinGitHubActionDigests"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user