Skip to content

Commit

Permalink
ci: Group all minor and patch dependabot updates into one PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed May 28, 2024
1 parent 2b04d8c commit e1cf623
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
directories:
- "/"
schedule:
interval: "weekly"
groups:
k8s:
patterns:
- "k8s.io*"
- "sigs.k8s.io*"
all-go-mod-patch-and-minor:
patterns: [ "*" ]
update-types: [ "patch", "minor" ]

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
12 changes: 7 additions & 5 deletions .gitlint
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# `gitlint` is used to validate commit messages via `pre-commit` hook, enabled
# via `pre-commit install -t commit-msg`.
#
# The format of this file is detailed at https://jorisroovers.com/gitlint/#configuration.
# The format of this file is detailed at https://jorisroovers.com/gitlint/latest/configuration/gitlint_file/.

[general]
# Validate the commit title conforms to conventional commits (https://www.conventionalcommits.org/en/v1.0.0/).
contrib=contrib-title-conventional-commits
# Do not require a body in the git commit.
ignore=body-is-missing

regex-style-search = True
regex-style-search=True

[body-max-line-length]
line-length=120

[ignore-body-lines]
# Ignore dependabot long lines.
regex=^(Bumps .+ from .+ to .+\.$|- \[Commits\])
regex=https?://

[ignore-by-author-name]
regex=(.*)dependabot(.*)
ignore=all

[contrib-title-conventional-commits]
# Specify allowed commit types. For details see: https://www.conventionalcommits.org/
Expand Down

0 comments on commit e1cf623

Please sign in to comment.