0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2025-07-13 07:10:50 +08:00

Initial commit

This commit is contained in:
严浩
2024-10-09 15:19:29 +08:00
commit dcd37fc7c4
9 changed files with 7063 additions and 0 deletions

54
default.json5 Normal file
View File

@ -0,0 +1,54 @@
{
// 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": [
{
"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"
},
{
// use-node-version=22.9.0
"customType": "regex",
"description": "Update Node.js version configured in .npmrc",
"fileMatch": [
"^\\.npmrc$"
],
"matchStrings": [
"use-node-version=(?<currentValue>.*?)$"
],
"datasourceTemplate": "node",
"depNameTemplate": "node"
}
]
}