Skip to content

build(deps): bump org.sonatype.central:central-publishing-maven-plugin from 0.5.0 to 0.11.0 #27

build(deps): bump org.sonatype.central:central-publishing-maven-plugin from 0.5.0 to 0.11.0

build(deps): bump org.sonatype.central:central-publishing-maven-plugin from 0.5.0 to 0.11.0 #27

name: Dependabot Auto-Merge
on: pull_request_target
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
name: Enable Auto-Merge
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: |
gh pr review --approve "$PR_URL" || true
gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}