Skip to content

Commit

Permalink
Merge pull request #1184 from XudongLiuHarold/update-dependabot
Browse files Browse the repository at this point in the history
⚙️  update dependabot configuration
  • Loading branch information
k8s-ci-robot authored Aug 19, 2024
2 parents 920aaef + 2d4ddbf commit 4d8c9d7
Showing 1 changed file with 89 additions and 41 deletions.
130 changes: 89 additions & 41 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ updates:
schedule:
interval: "weekly"
commit-message:
prefix: ":seedling:"
prefix: ":seedling: (chore)"
labels:
- "ok-to-test"
- "area/ci"
groups:
all-github-actions:
patterns: [ "*" ]

# Main Go module
- target-branch: master
package-ecosystem: "gomod"
directory: "/"
directories:
- "/"
- "/hack/tools"
schedule:
interval: "weekly"
day: "monday"
Expand All @@ -27,20 +34,25 @@ updates:
kubernetes:
patterns: [ "k8s.io/*" ]
commit-message:
prefix: ":seedling:"
prefix: ":seedling: (chore)"
labels:
- "ok-to-test"
open-pull-requests-limit: 10

## Update dockerfile
- target-branch: master
package-ecosystem: docker
directory: "/cluster/images/controller-manager"
schedule:
interval: weekly
commit-message:
prefix: ":seedling:"
prefix: ":seedling: (chore)"
labels:
- "ok-to-test"
groups:
all-docker-update:
patterns: [ "*" ]

# Test Go module
- target-branch: master
package-ecosystem: "gomod"
Expand All @@ -52,42 +64,40 @@ updates:
groups:
kubernetes:
patterns: [ "k8s.io/*" ]
sigs-k8s:
patterns: [ "sigs.k8s.io/*" ]
onsi:
patterns: [ "github.com/onsi/*" ]
commit-message:
prefix: ":seedling:"
labels:
- "ok-to-test"
# Tools Go module
- target-branch: master
package-ecosystem: "gomod"
directory: "/hack/tools"
schedule:
interval: "weekly"
day: "monday"
commit-message:
prefix: ":seedling:"
prefix: ":seedling: (chore)"
labels:
- "ok-to-test"
open-pull-requests-limit: 10

# ##################
# release branch N
# ##################
# GitHub Actions
- target-branch: release-1.30
- target-branch: release-1.31
package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: ":seedling:[release-1.30]"
prefix: ":seedling: (chore)[release-1.31]"
labels:
- "ok-to-test"
- "area/ci"
groups:
all-github-actions:
patterns: [ "*" ]
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# Main Go module
- target-branch: release-1.30
- target-branch: release-1.31
package-ecosystem: "gomod"
directory: "/"
schedule:
Expand All @@ -98,7 +108,7 @@ updates:
kubernetes:
patterns: [ "k8s.io/*" ]
commit-message:
prefix: ":seedling:[release-1.30]"
prefix: ":seedling: (chore)[release-1.31]"
labels:
- "ok-to-test"
open-pull-requests-limit: 5
Expand All @@ -107,23 +117,28 @@ updates:
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

## Update dockerfile
- target-branch: release-1.30
- target-branch: release-1.31
package-ecosystem: docker
directory: "/cluster/images/controller-manager"
schedule:
interval: weekly
commit-message:
prefix: ":seedling:[release-1.30]"
prefix: ":seedling: (chore)[release-1.31]"
labels:
- "ok-to-test"
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
groups:
all-docker-update:
patterns: [ "*" ]

# Test Go module
- target-branch: release-1.30
- target-branch: release-1.31
package-ecosystem: "gomod"
directory: "/test/e2e"
schedule:
Expand All @@ -133,35 +148,45 @@ updates:
groups:
kubernetes:
patterns: [ "k8s.io/*" ]
sigs-k8s:
patterns: [ "sigs.k8s.io/*" ]
onsi:
patterns: [ "github.com/onsi/*" ]
commit-message:
prefix: ":seedling:[release-1.30]"
prefix: ":seedling: (chore)[release-1.31]"
labels:
- "ok-to-test"
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# ################
# release branch N-1
# ################
# GitHub Actions
- target-branch: release-1.29
- target-branch: release-1.30
package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: ":seedling:[release-1.29]"
prefix: ":seedling: (chore)[release-1.30]"
labels:
- "ok-to-test"
- "area/ci"
groups:
all-github-actions:
patterns: [ "*" ]
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# Main Go module
- target-branch: release-1.29
- target-branch: release-1.30
package-ecosystem: "gomod"
directory: "/"
schedule:
Expand All @@ -172,7 +197,7 @@ updates:
kubernetes:
patterns: [ "k8s.io/*" ]
commit-message:
prefix: ":seedling:[release-1.29]"
prefix: ":seedling: (chore)[release-1.30]"
labels:
- "ok-to-test"
open-pull-requests-limit: 5
Expand All @@ -181,23 +206,28 @@ updates:
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

## Update dockerfile
- target-branch: release-1.29
- target-branch: release-1.30
package-ecosystem: docker
directory: "/cluster/images/controller-manager"
schedule:
interval: weekly
commit-message:
prefix: ":seedling:[release-1.29]"
prefix: ":seedling: (chore)[release-1.30]"
labels:
- "ok-to-test"
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
groups:
all-docker-update:
patterns: [ "*" ]

# Test Go module
- target-branch: release-1.29
- target-branch: release-1.30
package-ecosystem: "gomod"
directory: "/test/e2e"
schedule:
Expand All @@ -207,8 +237,12 @@ updates:
groups:
kubernetes:
patterns: [ "k8s.io/*" ]
sigs-k8s:
patterns: [ "sigs.k8s.io/*" ]
onsi:
patterns: [ "github.com/onsi/*" ]
commit-message:
prefix: ":seedling:[release-1.29]"
prefix: ":seedling: (chore)[release-1.30]"
labels:
- "ok-to-test"
ignore:
Expand All @@ -221,22 +255,27 @@ updates:
# release branch N-2
# ##################
# GitHub Actions
- target-branch: release-1.28
- target-branch: release-1.29
package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: ":seedling:[release-1.28]"
prefix: ":seedling: (chore)[release-1.29]"
labels:
- "ok-to-test"
- "area/ci"
groups:
all-github-actions:
patterns: [ "*" ]
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# Main Go module
- target-branch: release-1.28
- target-branch: release-1.29
package-ecosystem: "gomod"
directory: "/"
schedule:
Expand All @@ -247,7 +286,7 @@ updates:
kubernetes:
patterns: [ "k8s.io/*" ]
commit-message:
prefix: ":seedling:[release-1.28]"
prefix: ":seedling: (chore)[release-1.29]"
labels:
- "ok-to-test"
open-pull-requests-limit: 5
Expand All @@ -256,23 +295,28 @@ updates:
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

## Update dockerfile
- target-branch: release-1.28
- target-branch: release-1.29
package-ecosystem: docker
directory: "/cluster/images/controller-manager"
schedule:
interval: weekly
commit-message:
prefix: ":seedling:[release-1.28]"
prefix: ":seedling: (chore)[release-1.29]"
labels:
- "ok-to-test"
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
groups:
all-docker-update:
patterns: [ "*" ]

# Test Go module
- target-branch: release-1.28
- target-branch: release-1.29
package-ecosystem: "gomod"
directory: "/test/e2e"
schedule:
Expand All @@ -282,8 +326,12 @@ updates:
groups:
kubernetes:
patterns: [ "k8s.io/*" ]
sigs-k8s:
patterns: [ "sigs.k8s.io/*" ]
onsi:
patterns: [ "github.com/onsi/*" ]
commit-message:
prefix: ":seedling:[release-1.28]"
prefix: ":seedling: (chore)[release-1.29]"
labels:
- "ok-to-test"
ignore:
Expand Down

0 comments on commit 4d8c9d7

Please sign in to comment.