Skip to content

Commit

Permalink
ci(dependabot): improve schedules (#16803)
Browse files Browse the repository at this point in the history
* ci(dependabot): improve schedules

* chore(deps): fix schedule

* chore: better grouping

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
busla and kodiakhq[bot] authored Nov 13, 2024
1 parent c40a213 commit 5101411
Showing 1 changed file with 113 additions and 4 deletions.
117 changes: 113 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,143 @@
version: 2

updates:
# Monorepo npm dependencies
- package-ecosystem: npm
directory: /
schedule:
interval: daily
interval: weekly
time: 02:00
day: saturday
timezone: Etc/UTC
labels:
- automerge
- dependencies
commit-message:
prefix: chore(deps)
prefix-development: chore(deps-dev)
open-pull-requests-limit: 2
groups:
# Group minor and patch updates together
minor-patch-dependencies:
patterns:
- '*'
update-types:
- minor
- patch
ignore:
# Ignore major updates as they might break things
- dependency-name: '*'
update-types: ['version-update:semver-major']
versioning-strategy: increase

# Infra npm dependencies
- package-ecosystem: npm
directory: /infra
schedule:
interval: weekly
time: 03:00
timezone: Etc/UTC
labels:
- automerge
- dependencies
commit-message:
prefix: chore(deps)
prefix-development: chore(deps-infra)
open-pull-requests-limit: 2
groups:
# Group minor and patch updates together
minor-patch-dependencies:
patterns:
- '*'
update-types:
- minor
- patch
ignore:
# Ignore major updates as they might break things
- dependency-name: '*'
update-types: ['version-update:semver-major']
versioning-strategy: increase

# GitHub Actions
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
interval: weekly # Less frequent for Actions
day: saturday
time: 04:00
timezone: Etc/UTC
labels:
- automerge
- dependencies
commit-message:
prefix: chore(ci)
open-pull-requests-limit: 2
groups:
# Group minor and patch updates together
minor-patch-dependencies:
patterns:
- '*'
update-types:
- minor
- patch
ignore:
# Ignore major updates as they might break things
- dependency-name: '*'
update-types: ['version-update:semver-major']
versioning-strategy: increase

# GitHub Actions npm dependencies
- package-ecosystem: npm
directory: /.github/actions/
schedule:
interval: daily
interval: weekly
day: saturday
time: 05:00
timezone: Etc/UTC
labels:
- automerge
- dependencies
commit-message:
prefix: chore(ci-deps)
open-pull-requests-limit: 2
groups:
# Group minor and patch updates together
minor-patch-dependencies:
patterns:
- '*'
update-types:
- minor
- patch
ignore:
# Ignore major updates as they might break things
- dependency-name: '*'
update-types: ['version-update:semver-major']
versioning-strategy: increase

# CI Scripts dependencies
- package-ecosystem: npm
directory: /scripts/ci/cache
schedule:
interval: daily
interval: weekly
day: saturday
time: 06:00
timezone: Etc/UTC
labels:
- automerge
- dependencies
commit-message:
prefix: chore(ci-deps)
open-pull-requests-limit: 2
groups:
# Group minor and patch updates together
minor-patch-dependencies:
patterns:
- '*'
update-types:
- minor
- patch
ignore:
# Ignore major updates as they might break things
- dependency-name: '*'
update-types: ['version-update:semver-major']
versioning-strategy: increase

0 comments on commit 5101411

Please sign in to comment.