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 17 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
41 changes: 41 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,41 @@
{
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
"ignorePresets": [":semanticPrefixFixDepsChoreOthers"],
"labels": ["dependencies"],

// Wait well over three days for any new package as a precaution against malicious publishes
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"minimumReleaseAge": "7 days",

"packageRules": [
{
"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": "Use the deps:npm label for npm manager packages (this means Renovate's npm manager).",
"addLabels": ["deps:npm"],
"matchManagers": ["npm"]
},
{
"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"]
}
]
}