Skip to content

Commit

Permalink
dependabot: a few adjustments
Browse files Browse the repository at this point in the history
Both main and 0.11:
* Remove `open-pull-requests-limit`.
* Enforce grouping, it opens too many PRs and it's painful to merge (they
  merge conflict from each other every week).

Only for 0.11: allow CAPI bumps but only patch versions.
  • Loading branch information
EmilienM committed Nov 26, 2024
1 parent ab1e5a2 commit 5496ebe
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ updates:
# github-actions
- directory: "/"
package-ecosystem: "github-actions"
open-pull-requests-limit: 5
schedule:
interval: "weekly"
day: "monday"
Expand All @@ -26,16 +25,14 @@ updates:
- "/hack/tools"
- "/orc"
package-ecosystem: "gomod"
open-pull-requests-limit: 5
schedule:
interval: "weekly"
day: "monday"
target-branch: main
groups:
kubernetes:
patterns: ["k8s.io/*"]
capi:
patterns: ["sigs.k8s.io/cluster-api", "sigs.k8s.io/cluster-api/test"]
all-go-mod-patch-and-minor:
patterns: [ "*" ]
update-types: [ "patch", "minor" ]
commit-message:
prefix: ":seedling:"
include: scope
Expand All @@ -58,7 +55,6 @@ updates:
# github-actions
- directory: "/"
package-ecosystem: "github-actions"
open-pull-requests-limit: 5
schedule:
interval: "weekly"
day: "monday"
Expand All @@ -78,20 +74,21 @@ updates:
- "/hack/tools"
- "/orc"
package-ecosystem: "gomod"
open-pull-requests-limit: 5
schedule:
interval: "weekly"
day: "monday"
target-branch: release-0.11
groups:
kubernetes:
patterns: ["k8s.io/*"]
capi:
patterns: ["sigs.k8s.io/cluster-api", "sigs.k8s.io/cluster-api/test"]
all-go-mod-patch-and-minor:
patterns: [ "*" ]
update-types: [ "patch", "minor" ]
commit-message:
prefix: ":seedling:"
include: scope
ignore:
# Ignore CAPI major and minor bumps
- dependency-name: "sigs.k8s.io/cluster-api*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Ignore controller-runtime major and minor bumps as its upgraded manually.
- dependency-name: "sigs.k8s.io/controller-runtime"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
Expand Down

0 comments on commit 5496ebe

Please sign in to comment.