Skip to content

Commit

Permalink
chore: add .github/renovate.json5 (#17567)
Browse files Browse the repository at this point in the history
* chore: add .github/renovate.json5

* Removed last commit message line

* Remove dependency dashboard

* Capitalize Renovate in .github/renovate.json5

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* 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 <nicholas@humanwhocodes.com>

* Remove redundant automerge: false

* Remove explicit major line

* Update .github/renovate.json5

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update .github/renovate.json5

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Disabled automerge, kept prefix as chore, and included patch version updates

* Update .github/renovate.json5

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Added npm link to comment

---------

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
  • Loading branch information
3 people committed Nov 7, 2023
1 parent 3cbeaad commit ba8ca7e
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/renovate.json5
@@ -0,0 +1,42 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":approveMajorUpdates",
":semanticCommitScopeDisabled"
],
"ignorePresets": [":semanticPrefixFixDepsChoreOthers"],
"labels": ["dependencies"],

// Wait well over npm's three day window for any new package as a precaution against malicious publishes
// https://docs.npmjs.com/policies/unpublish/#packages-published-less-than-72-hours-ago
"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"]
}
]
}

0 comments on commit ba8ca7e

Please sign in to comment.