mirror of
https://github.com/yanhao98/renovate-example.git
synced 2025-07-13 07:10:50 +08:00
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
{
|
|
// https://docs.renovatebot.com/configuration-options/
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
"mergeConfidence:all-badges",
|
|
"group:allNonMajor",
|
|
":semanticCommitTypeAll(chore)",
|
|
"customManagers:dockerfileVersions",
|
|
"customManagers:githubActionsVersions"
|
|
],
|
|
"dependencyDashboard": false,
|
|
"forkProcessing": "enabled",
|
|
"rangeStrategy": "bump",
|
|
"labels": [
|
|
"dependencies"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchDepNames": ["typescript"],
|
|
"rangeStrategy": "replace",
|
|
"groupName": "typescript"
|
|
},
|
|
{
|
|
"minimumReleaseAge": "7 days",
|
|
"matchPackageNames": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"customManagers": [
|
|
// https://semantic-release.gitbook.io/semantic-release/usage/installation#notes
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update semantic-release version used by npx",
|
|
"fileMatch": [
|
|
"^\\.github/workflows/[^/]+\\.ya?ml$"
|
|
],
|
|
"matchStrings": [
|
|
"\\srun: npx semantic-release@(?<currentValue>.*?)\\s"
|
|
],
|
|
"datasourceTemplate": "npm",
|
|
"depNameTemplate": "semantic-release"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update Node.js version configured in `.npmrc`. match `use-node-version=22.9.0`",
|
|
"fileMatch": [
|
|
"^\\.npmrc$"
|
|
],
|
|
"matchStrings": [
|
|
"use-node-version=(?<currentValue>.*?)$"
|
|
],
|
|
"datasourceTemplate": "node",
|
|
"depNameTemplate": "node"
|
|
}
|
|
]
|
|
} |