Skip to content

build(deps-dev): bump com.diffplug.spotless:spotless-maven-plugin from 2.44.3 to 3.4.0 #1

build(deps-dev): bump com.diffplug.spotless:spotless-maven-plugin from 2.44.3 to 3.4.0

build(deps-dev): bump com.diffplug.spotless:spotless-maven-plugin from 2.44.3 to 3.4.0 #1

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v3.0.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve pull request
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}