From 0c67dab1f41ff829dbc6959970131549e404b9fc Mon Sep 17 00:00:00 2001 From: Yuwei Ba Date: Wed, 18 Oct 2023 23:52:33 +1100 Subject: [PATCH] Update dependabot.yaml Signed-off-by: Yuwei Ba --- .github/workflows/dependabot.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dependabot.yaml b/.github/workflows/dependabot.yaml index 7a22a0a04..c6793fa06 100644 --- a/.github/workflows/dependabot.yaml +++ b/.github/workflows/dependabot.yaml @@ -19,3 +19,9 @@ jobs: env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Enable auto-merge for Dependabot PRs + if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}} + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}