Skip to content

Commit

Permalink
ci: remove deprecated renovate config options (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Jun 4, 2024
1 parent cd8da55 commit 77ce088
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
// Automerge patches, pin changes and digest changes.
// Also groups these changes together.
groupName: "bugfixes",
excludePackagePrefixes: ["lint", "types"],
excludeDepPatterns: ["lint/.*", "types/.*"],
matchUpdateTypes: ["patch", "pin", "digest"],
prPriority: 3, // Patches should go first!
automerge: true
},
{
// Update all internal packages in one higher-priority PR
groupName: "internal packages",
matchPackagePrefixes: ["craft-", "snap-"],
matchDepPatterns: ["craft-.*", "snap-.*"],
matchLanguages: ["python"],
prPriority: 2
},
Expand All @@ -59,10 +59,10 @@
// Minor changes can be grouped and automerged for dev dependencies, but are also deprioritised.
groupName: "development dependencies (non-major)",
groupSlug: "dev-dependencies",
matchPackagePrefixes: [
"dev",
"lint",
"types"
matchDepPatterns: [
"dev/.*",
"lint/.*",
"types/.*"
],
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
prPriority: -1,
Expand All @@ -74,7 +74,7 @@
groupSlug: "doc-dependencies",
matchPackageNames: ["Sphinx", "furo"],
matchPackagePatterns: ["[Ss]phinx.*$"],
matchPackagePrefixes: ["docs"],
matchDepPatterns: ["docs/.*"],
},
{
// Other major dependencies get deprioritised below minor dev dependencies.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ jobs:
run: renovate --dry-run --autodiscover
env:
RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RENOVATE_USE_BASE_BRANCH_CONFIG: ${{ github.ref }}

0 comments on commit 77ce088

Please sign in to comment.