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:
54
default.json5
Normal file
54
default.json5
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user