Skip to content

Commit

Permalink
chore: すべての依存をRenovateの対象にする
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Sep 26, 2024
1 parent 8d603d9 commit ed52c04
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 41 deletions.
41 changes: 0 additions & 41 deletions renovate.json

This file was deleted.

78 changes: 78 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"timezone": "Asia/Tokyo",
"separateMajorMinor": false,
"dependencyDashboardApproval": true, // 万が一`packageRules`の網羅性に穴ができた場合に備え
"packageRules": [
{
"groupName": "major dependencies",
"matchUpdateTypes": [
"major"
],
"dependencyDashboardApproval": false
},
{
"groupName": "major dependencies",
"matchUpdateTypes": [
"minor"
],
"matchCurrentVersion": "/^0\\./",
"dependencyDashboardApproval": false
},
{
"groupName": "major dependencies",
"matchUpdateTypes": [
"patch"
],
"matchCurrentVersion": "/^0\\.0\\./",
"dependencyDashboardApproval": false
},
{
"groupName": "non-major dependencies",
"matchUpdateTypes": [
"minor"
],
"matchCurrentVersion": "!/^0\\./",
"dependencyDashboardApproval": false
},
{
"groupName": "non-major dependencies",
"matchUpdateTypes": [
"patch"
],
"matchCurrentVersion": "!/^0\\.0\\./",
"dependencyDashboardApproval": false
},
{
"matchDatasources": [
"github-runners"
],
"matchPackageNames": [
"windows",
"macos",
"ubuntu"
],
"enabled": false
}
],
"cargo": {
"rangeStrategy": "bump"
},
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^rust-toolchain$"
],
"matchStrings": [
"(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"depNameTemplate": "Rust",
"packageNameTemplate": "rust-lang/rust",
"datasourceTemplate": "github-tags"
}
]
}

0 comments on commit ed52c04

Please sign in to comment.