Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add .github/renovate.json5 #17567

Merged
merged 18 commits into from Nov 7, 2023
Merged
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/renovate.json5
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
@@ -0,0 +1,51 @@
{
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"extends": [
"config:recommended",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
":approveMajorUpdates",
":semanticCommitScopeDisabled"
],
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"internalChecksFilter": "strict",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"labels": ["dependencies"],

// Wait a few days for any new package, as a precaution against malicious publishes
"minimumReleaseAge": "7 days",

"packageRules": [
{
"description": "Automerge minor version updates. Major versions must be approved from the Dependency Dashboard issue, because we use the :approveMajorUpdates preset.",
"automerge": true,
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"matchUpdateTypes": ["minor"]
},
{
"description": "Ignore patch versions to reduce noise.",
"enabled": false,
"matchUpdateTypes": ["patch"]
},
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
{
"description": "Use the deps:npm label for npm manager packages (this means Renovate's npm manager).",
"addLabels": ["deps:npm"],
"matchManagers": ["npm"]
},
{
"description": "Use the deps:actions label for github-action manager updates (this means Renovate's github-action manager).",
"addLabels": ["deps:actions"],
"matchManagers": ["github-actions"]
},
{
"description": "Group Babel packages into a single PR.",
"groupName": "babel",
"matchPackagePrefixes": ["@babel", "babel-"]
},
{
"description": "Group wdio packages into a single PR.",
"groupName": "wdio",
"matchPackagePrefixes": ["@wdio"]
},
{
"description": "Group metascraper packages into a single PR.",
"groupName": "metascraper",
"matchPackagePrefixes": ["metascraper"]
}
]
}