Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
20 changes: 13 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "maven" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
groups:
maven:
patterns:
- "*:*"
update-types:
- "patch"
- "minor"
pull-request-title: "Apply all minor and patch-level updates for Maven dependencies"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
25 changes: 25 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dependabot Auto-Merge
on:
pull_request:
types:
- opened

permissions:
pull-requests: write
contents: read

jobs:
dependabot-auto-merge:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && startsWith(github.event.pull_request.title, 'Apply all minor and patch-level')
steps:
- name: Fetch Pull Request Metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Merge Pull Request
run: gh pr merge --auto "$PR_URL"
env:
PR_URL: "${{ github.event.pull_request.html_url }}"
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Loading