Skip to content

Commit

Permalink
ci: set dependabot schema, use versioning-strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
busla committed Nov 13, 2024
1 parent a35f443 commit f65d06c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
version: 2

updates:
Expand All @@ -17,15 +18,18 @@ updates:
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
Expand All @@ -42,21 +46,24 @@ updates:
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: weekly
interval: weekly # Less frequent for Actions
day: saturday
time: '04:00'
timezone: Etc/UTC
Expand All @@ -67,13 +74,15 @@ updates:
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']

Expand All @@ -92,15 +101,18 @@ updates:
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
Expand All @@ -117,12 +129,15 @@ updates:
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 f65d06c

Please sign in to comment.