From df79914733dd6da411dc78b95d6245176b857c90 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 24 May 2026 15:20:34 +0300 Subject: [PATCH] ci: add auto-merge workflow for dependabot PRs --- .github/workflows/auto-merge.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/auto-merge.yml diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 0000000..69f4254 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,19 @@ +name: Auto-merge Dependabot PRs + +on: + pull_request: + branches: [main, master] + +permissions: + contents: write + pull-requests: write + +jobs: + auto-merge: + if: github.event.pull_request.user.login == 'dependabot[bot]' + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: fastify/github-action-merge-dependabot@30c3f8f14a4f7b315ba38dbc1b793d27128fef82 # v3 + with: + target: minor