From 27294320d83d7fed9a115adcfa3c35f5bf2db7a0 Mon Sep 17 00:00:00 2001 From: asepharyana <48643666+asepharyana@users.noreply.github.com> Date: Wed, 26 Aug 2026 08:53:28 +0700 Subject: [PATCH] feat: add dependabot-auto-merge.yml --- .github/dependabot-auto-merge.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/dependabot-auto-merge.yml diff --git a/.github/dependabot-auto-merge.yml b/.github/dependabot-auto-merge.yml new file mode 100644 index 0000000..7f78348 --- /dev/null +++ b/.github/dependabot-auto-merge.yml @@ -0,0 +1,17 @@ +name: Dependabot Auto-Merge +on: pull_request + +permissions: + contents: write + pull-requests: write + +jobs: + auto-merge: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - name: Enable auto-merge for Dependabot PR + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{ github.event.pull_request.html_url }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}