From 94d6ddcede0ec559d9dce746d80be39a0391b72b Mon Sep 17 00:00:00 2001 From: "Konstantin S." Date: Fri, 13 Mar 2026 18:40:39 +0400 Subject: [PATCH 1/2] fix: use personal token for auto-merge workflow --- .github/workflows/auto-merge.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index d951fc59a09..b942c188ddd 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -31,10 +31,11 @@ jobs: run: gh pr review --approve "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Use a non-GITHUB_TOKEN secret so the merge can trigger downstream workflows. + GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }} - name: Enable auto-merge run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }} From 2c2ce5e68d47e4386a4c40842b0c41804a23baf3 Mon Sep 17 00:00:00 2001 From: "Konstantin S." Date: Fri, 13 Mar 2026 18:43:57 +0400 Subject: [PATCH 2/2] fix: use personal token only for auto-merge --- .github/workflows/auto-merge.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index b942c188ddd..342569f5e68 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -31,11 +31,11 @@ jobs: run: gh pr review --approve "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} - # Use a non-GITHUB_TOKEN secret so the merge can trigger downstream workflows. - GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Enable auto-merge run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} + # Use a non-GITHUB_TOKEN secret so the merge can trigger downstream workflows. GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}