Skip to content

Commit

Permalink
Merge pull request #7881 from jandubois/dependabot-groups
Browse files Browse the repository at this point in the history
Define dependabot groups for golang.org/x/* and k8s.io/* modules
  • Loading branch information
Nino-K authored Dec 5, 2024
2 parents bbfd97b + 8983f31 commit 4b33211
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 132 deletions.
3 changes: 3 additions & 0 deletions .github/.yamlfmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
formatter:
indentless_arrays: true
retain_line_breaks: true
2 changes: 2 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ IMAGENAME
IMAGEPATH
INADDR
inbox
indentless
ine
Infof
Infoln
Expand Down Expand Up @@ -935,6 +936,7 @@ xvfb
xwininfo
xzf
yac
yamlfmt
yarker
Yehuda
YPUy
Expand Down
319 changes: 187 additions & 132 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,147 +1,202 @@
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
ignore:
- # Needs to be updated along with NodeJS version.
dependency-name: "@types/node"
versions: [ ">20" ]
- # Need to migrate to Vue 3 before moving beyond 2.7.x.
dependency-name: "vue"
versions: [ ">2" ]
- # @vue/test-utils v2 is for Vue 3; we're on Vue 2 for now
dependency-name: "@vue/test-utils"
versions: [ ">1" ]
- # Since we no longer pull in Nuxt (i.e. we have "ejected"), newer
# versions of this package mis-detect and think we're using Nuxt 3 (with
# Vue 3), and uses the wrong set of linters. This happened in v12, so
# we ignore everything higher than 11.
dependency-name: "@nuxtjs/eslint-config-typescript"
versions: [ ">11" ]
- # Electron major bumps are too complicated; we need to do those manually.
dependency-name: "electron"
update-types: [ "version-update:semver-major" ]
- # node-fetch 3+ requires ECMAScript modules, but Electron doesn't
# support that. See https://github.com/electron/electron/issues/21457
dependency-name: "node-fetch"
versions: [ ">2" ]
- # This needs to be done in lockstep with node-fetch.
dependency-name: "@types/node-fetch"
versions: [ ">2" ]
- # We don't utilize @rancher/shell in a meaningful way. It is safe to
# ignore until we arrive a solution that uses it.
dependency-name: "@rancher/shell"
versions: [ ">0.1" ]
- # unfetch release 5.0.0 dropped necessary files.
# See https://github.com/developit/unfetch/issues/ 162, 163, 167, 172, 176
# Not the best-maintained library out there.
# It's used only by the nuxt pseudo-submodule
# Assume the next release will fix it.
dependency-name: "unfetch"
versions: [ "5.0.0" ]
- # fs-xattr 0.4.0 later are esm-only.
dependency-name: "fs-xattr"
versions: [ ">0.3"]
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
ignore:
- # Needs to be updated along with NodeJS version.
dependency-name: "@types/node"
versions: [">20"]
- # Need to migrate to Vue 3 before moving beyond 2.7.x.
dependency-name: "vue"
versions: [">2"]
- # @vue/test-utils v2 is for Vue 3; we're on Vue 2 for now
dependency-name: "@vue/test-utils"
versions: [">1"]
- # Since we no longer pull in Nuxt (i.e. we have "ejected"), newer
# versions of this package mis-detect and think we're using Nuxt 3 (with
# Vue 3), and uses the wrong set of linters. This happened in v12, so
# we ignore everything higher than 11.
dependency-name: "@nuxtjs/eslint-config-typescript"
versions: [">11"]
- # Electron major bumps are too complicated; we need to do those manually.
dependency-name: "electron"
update-types: ["version-update:semver-major"]
- # node-fetch 3+ requires ECMAScript modules, but Electron doesn't
# support that. See https://github.com/electron/electron/issues/21457
dependency-name: "node-fetch"
versions: [">2"]
- # This needs to be done in lockstep with node-fetch.
dependency-name: "@types/node-fetch"
versions: [">2"]
- # We don't utilize @rancher/shell in a meaningful way. It is safe to
# ignore until we arrive a solution that uses it.
dependency-name: "@rancher/shell"
versions: [">0.1"]
- # unfetch release 5.0.0 dropped necessary files.
# See https://github.com/developit/unfetch/issues/ 162, 163, 167, 172, 176
# Not the best-maintained library out there.
# It's used only by the nuxt pseudo-submodule
# Assume the next release will fix it.
dependency-name: "unfetch"
versions: ["5.0.0"]
- # fs-xattr 0.4.0 later are esm-only.
dependency-name: "fs-xattr"
versions: [">0.3"]

# Maintain dependencies for Golang
- package-ecosystem: "gomod"
directory: "/src/go/docker-credential-none"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "jandubois" ]
# Maintain dependencies for Golang
- package-ecosystem: "gomod"
directory: "/src/go/docker-credential-none"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["jandubois"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/extension-proxy"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "Nino-K" ]
- package-ecosystem: "gomod"
directory: "/src/go/extension-proxy"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["Nino-K"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/github-runner-monitor"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "mook-as" ]
- package-ecosystem: "gomod"
directory: "/src/go/github-runner-monitor"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["mook-as"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/guestagent"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "Nino-K" ]
- package-ecosystem: "gomod"
directory: "/src/go/guestagent"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["Nino-K"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/mock-wsl"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "Nino-K" ]
- package-ecosystem: "gomod"
directory: "/src/go/mock-wsl"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["Nino-K"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/nerdctl-stub"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "Nino-K" ]
- package-ecosystem: "gomod"
directory: "/src/go/nerdctl-stub"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["Nino-K"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/nerdctl-stub/generate"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "Nino-K" ]
- package-ecosystem: "gomod"
directory: "/src/go/nerdctl-stub/generate"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["Nino-K"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/networking"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "Nino-K" ]
- package-ecosystem: "gomod"
directory: "/src/go/networking"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["Nino-K"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/rdctl"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "jandubois" ]
- package-ecosystem: "gomod"
directory: "/src/go/rdctl"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["jandubois"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/spin-stub"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "jandubois" ]
- package-ecosystem: "gomod"
directory: "/src/go/spin-stub"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["jandubois"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

- package-ecosystem: "gomod"
directory: "/src/go/wsl-helper"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: [ "Nino-K" ]
- package-ecosystem: "gomod"
directory: "/src/go/wsl-helper"
schedule:
interval: "daily"
open-pull-requests-limit: 12
labels: ["component/dependencies"]
reviewers: ["Nino-K"]
groups:
golang-x:
patterns: ["golang.org/x/*"]
k8s:
patterns: ["k8s.io/*"]

0 comments on commit 4b33211

Please sign in to comment.