From a04371659e4c672dc576874f4e866b81ef2daae9 Mon Sep 17 00:00:00 2001 From: Leynos Date: Sat, 17 Jan 2026 00:12:12 +0000 Subject: [PATCH 1/2] Add dependabot automerge workflow --- .github/workflows/dependabot-automerge.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/dependabot-automerge.yml diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml new file mode 100644 index 0000000..c173f33 --- /dev/null +++ b/.github/workflows/dependabot-automerge.yml @@ -0,0 +1,11 @@ +name: Dependabot Automerge + +on: + pull_request: + types: [opened, synchronize, reopened] + workflow_dispatch: + +jobs: + dependabot-automerge: + uses: leynos/shared-actions/.github/workflows/dependabot-automerge.yml@235d2d07b9a321364a742310873f6732d7228e72 + secrets: inherit From 3f195feb1af8f48e55b89f868130760859102f63 Mon Sep 17 00:00:00 2001 From: Leynos Date: Sat, 17 Jan 2026 00:13:33 +0000 Subject: [PATCH 2/2] Update dependabot automerge workflow --- .github/workflows/dependabot-automerge.yml | 23 ++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index c173f33..956a8ba 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -1,11 +1,22 @@ -name: Dependabot Automerge - +name: dependabot-automerge on: pull_request: - types: [opened, synchronize, reopened] + types: + - opened + - reopened + - synchronize + - labeled + pull_request_target: + branches: [main] workflow_dispatch: - +permissions: + contents: write + pull-requests: write + checks: read + statuses: read jobs: - dependabot-automerge: + automerge: + if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} uses: leynos/shared-actions/.github/workflows/dependabot-automerge.yml@235d2d07b9a321364a742310873f6732d7228e72 - secrets: inherit + with: + pull-request-number: ${{ github.event.pull_request.number }}