Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: set dependabot schema, use versioning-strategy #16846

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems redundant. The schemastore plugin in NeoViM gives schema hints with and without this line.

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
Loading