Skip to content

Commit

Permalink
chore(ci): tweak renovate preset to better align with branch rulesets (
Browse files Browse the repository at this point in the history
…#6648)

* chore(ci): tweak renovate preset to better align with branch rulesets

* refactor(ci): only group non-major on dev/**/package.json deps
  • Loading branch information
stipsan authored and ricokahler committed May 14, 2024
1 parent f58a005 commit ef39982
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
],
"ignorePresets": ["github>sanity-io/renovate-config:group-non-major"],
"packageRules": [
{
"description": "Enable automerge with GitHub merge queues (note that this doesn't bypass required checks and code reviews)",
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Slate upgrades are handled manually as they require extensive manual testing to verify it's safe to upgrade",
"matchPackageNames": ["slate", "slate-react"],
Expand All @@ -17,6 +22,11 @@
"matchFileNames": ["package.json", "dev/**/package.json", "examples/**/package.json"],
"extends": [":semanticCommitTypeAll(chore)"]
},
{
"description": "Group minor and patch deps in dev to a single PR",
"matchFileNames": ["dev/**/package.json"],
"extends": ["github>sanity-io/renovate-config:group-non-major"]
},
{
"description": "Pin Presentation in Test Studio to the version that has the agressive focus path behavior that makes race conditions easier to debug",
"matchFileNames": ["dev/test-studio/package.json"],
Expand All @@ -36,6 +46,5 @@
"semanticCommitType": "fix"
}
],
"ignorePaths": ["packages/@sanity/cli/test/__fixtures__/v2/package.json"],
"rebaseWhen": "behind-base-branch"
"ignorePaths": ["packages/@sanity/cli/test/__fixtures__/v2/package.json"]
}

0 comments on commit ef39982

Please sign in to comment.