Skip to content

Commit

Permalink
chore: Add dependabot groups and bump plugins (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Mason authored Sep 5, 2023
2 parents 48defb0 + b407dbc commit a0d3a38
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
33 changes: 25 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,28 @@

version: 2
updates:
- package-ecosystem: "maven" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
commit-message:
prefix: fix
prefix-development: chore
include: scope
- package-ecosystem: maven
directory: "/"
schedule:
interval: weekly
groups:
test-dependencies:
patterns:
- "junit-*"
- "mockito-*"
- "hamcrest-*"
- "testcontainers-*"
maven-plugins:
patterns:
- "maven-*-plugin"
- "*-maven-plugin"
commit-message:
prefix: fix
prefix-development: chore
include: scope

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
2 changes: 2 additions & 0 deletions .github/workflows/dependabot-auto-approve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
if: ${{
steps.metadata.outputs.dependency-type == 'direct:development'
|| steps.metadata.outputs.update-type == 'version-update:semver-patch'
|| steps.dependabot-metadata.outputs.dependency-group == 'test-dependencies'
|| steps.dependabot-metadata.outputs.dependency-group == 'maven-plugins'
}}
run: gh pr review --approve "$PR_URL"
env:
Expand Down

0 comments on commit a0d3a38

Please sign in to comment.