From 2eab4b7f2fdb14c00d475eff9c36bce73b8c44b9 Mon Sep 17 00:00:00 2001 From: I538344 Date: Thu, 23 Jul 2026 12:41:25 +0200 Subject: [PATCH 1/2] fix: [DevOps] Dependabot Automerge --- .github/workflows/dependabot-automerge.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dependabot-automerge.yaml b/.github/workflows/dependabot-automerge.yaml index 3c1300390..6f68fdffc 100644 --- a/.github/workflows/dependabot-automerge.yaml +++ b/.github/workflows/dependabot-automerge.yaml @@ -1,4 +1,4 @@ -name: dependabot merger +name: 'Dependabot Auto-Merge' on: workflow_dispatch: @@ -7,6 +7,7 @@ on: env: DEPENDABOT_GROUPS: | + production-major group production-minor-patch group plugins group test group @@ -17,9 +18,6 @@ jobs: permissions: contents: read # all write operations use app token steps: - - name: Checkout - uses: actions/checkout@v7 - - name: 'Create GitHub App Token' id: app-token uses: actions/create-github-app-token@v3 @@ -31,7 +29,7 @@ jobs: permission-contents: write permission-pull-requests: write - - name: Approve and Merge PRs + - name: 'Approve and Merge PRs' run: | PRS=$(gh pr list --app "dependabot" --state "open" --json number,title) PR_NUMBERS= @@ -51,7 +49,7 @@ jobs: if [[ -z "$PR_NUMBER" ]]; then continue fi - + echo "[DEBUG] Approving and Merging PR #$PR_NUMBER" gh pr merge "$PR_NUMBER" --auto --squash gh pr review "$PR_NUMBER" --approve From 14a8613c7d66dbfd65bb98756cec3bb2d58458a3 Mon Sep 17 00:00:00 2001 From: I538344 Date: Thu, 23 Jul 2026 12:49:15 +0200 Subject: [PATCH 2/2] re-add checkout --- .github/workflows/dependabot-automerge.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dependabot-automerge.yaml b/.github/workflows/dependabot-automerge.yaml index 6f68fdffc..f73513d29 100644 --- a/.github/workflows/dependabot-automerge.yaml +++ b/.github/workflows/dependabot-automerge.yaml @@ -29,6 +29,10 @@ jobs: permission-contents: write permission-pull-requests: write + - name: Checkout + uses: actions/checkout@v7 + + - name: 'Approve and Merge PRs' run: | PRS=$(gh pr list --app "dependabot" --state "open" --json number,title)