Skip to content

Commit

Permalink
Merge pull request #1816 from Nordix/tuomo/add-dependabot-schedule
Browse files Browse the repository at this point in the history
🌱 schedule dependabot on certain day, and add ok-to-test automatically
  • Loading branch information
metal3-io-bot authored Jul 4, 2024
2 parents dc01c5e + c739910 commit 4fbcda2
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
day: "saturday"
target-branch: main
commit-message:
prefix: ":seedling:"
# Go
labels:
- "ok-to-test"
# Go
- package-ecosystem: "gomod"
directories:
- "/"
Expand All @@ -21,6 +24,7 @@ updates:
- "/test"
schedule:
interval: "weekly"
day: "sunday"
target-branch: main
groups:
kubernetes:
Expand All @@ -36,19 +40,25 @@ updates:
update-types: ["version-update:semver-major", "version-update:semver-minor"]
commit-message:
prefix: ":seedling:"
labels:
- "ok-to-test"
## Main branch config ends here
## release-0.6 branch config starts here
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
day: "saturday"
target-branch: release-0.6
commit-message:
prefix: ":seedling:"
ignore:
# Ignore major and minor bumps for release branch
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
commit-message:
prefix: ":seedling:"
labels:
- "ok-to-test"
# Go
- package-ecosystem: "gomod"
directories:
- "/"
Expand All @@ -58,6 +68,7 @@ updates:
- "/test"
schedule:
interval: "weekly"
day: "sunday"
target-branch: release-0.6
groups:
kubernetes:
Expand All @@ -70,19 +81,25 @@ updates:
update-types: ["version-update:semver-major", "version-update:semver-minor"]
commit-message:
prefix: ":seedling:"
labels:
- "ok-to-test"
## release-0.6 branch config ends here
## release-0.5 branch config starts here
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
day: "saturday"
target-branch: release-0.5
commit-message:
prefix: ":seedling:"
ignore:
# Ignore major and minor bumps for release branch
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
commit-message:
prefix: ":seedling:"
labels:
- "ok-to-test"
# Go
- package-ecosystem: "gomod"
directories:
- "/"
Expand All @@ -92,6 +109,7 @@ updates:
- "/test"
schedule:
interval: "weekly"
day: "sunday"
target-branch: release-0.5
groups:
kubernetes:
Expand All @@ -104,4 +122,6 @@ updates:
update-types: ["version-update:semver-major", "version-update:semver-minor"]
commit-message:
prefix: ":seedling:"
labels:
- "ok-to-test"
## release-0.5 branch config ends here

0 comments on commit 4fbcda2

Please sign in to comment.