Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba8ca7e

Browse files
JoshuaKGoldbergHonkingGoosenzakas
authored
chore: add .github/renovate.json5 (#17567)
* chore: add .github/renovate.json5 * Removed last commit message line * Remove dependency dashboard * Capitalize Renovate in .github/renovate.json5 Co-authored-by: HonkingGoose <[email protected]> * Remove rebaseWhen * Removed enabledManagers * Remove automergeStrategy * Add back extends: config:recommended, :dependencyDashboardApproval * Add ::semanticCommitScopeDisabled extends too * 7 days, not 3 * Apply suggestions from code review Co-authored-by: Nicholas C. Zakas <[email protected]> * Remove redundant automerge: false * Remove explicit major line * Update .github/renovate.json5 Co-authored-by: HonkingGoose <[email protected]> * Update .github/renovate.json5 Co-authored-by: HonkingGoose <[email protected]> * Disabled automerge, kept prefix as chore, and included patch version updates * Update .github/renovate.json5 Co-authored-by: HonkingGoose <[email protected]> * Added npm link to comment --------- Co-authored-by: HonkingGoose <[email protected]> Co-authored-by: Nicholas C. Zakas <[email protected]>
1 parent 3cbeaad commit ba8ca7e

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/renovate.json5

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":approveMajorUpdates",
6+
":semanticCommitScopeDisabled"
7+
],
8+
"ignorePresets": [":semanticPrefixFixDepsChoreOthers"],
9+
"labels": ["dependencies"],
10+
11+
// Wait well over npm's three day window for any new package as a precaution against malicious publishes
12+
// https://docs.npmjs.com/policies/unpublish/#packages-published-less-than-72-hours-ago
13+
"minimumReleaseAge": "7 days",
14+
15+
"packageRules": [
16+
{
17+
"description": "Use the deps:actions label for github-action manager updates (this means Renovate's github-action manager).",
18+
"addLabels": ["deps:actions"],
19+
"matchManagers": ["github-actions"]
20+
},
21+
{
22+
"description": "Use the deps:npm label for npm manager packages (this means Renovate's npm manager).",
23+
"addLabels": ["deps:npm"],
24+
"matchManagers": ["npm"]
25+
},
26+
{
27+
"description": "Group Babel packages into a single PR.",
28+
"groupName": "babel",
29+
"matchPackagePrefixes": ["@babel", "babel-"]
30+
},
31+
{
32+
"description": "Group wdio packages into a single PR.",
33+
"groupName": "wdio",
34+
"matchPackagePrefixes": ["@wdio"]
35+
},
36+
{
37+
"description": "Group metascraper packages into a single PR.",
38+
"groupName": "metascraper",
39+
"matchPackagePrefixes": ["metascraper"]
40+
}
41+
]
42+
}

0 commit comments

Comments
 (0)