From 4dc6d0919ee85ed3056f654faf43ea694797758b Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Fri, 17 Apr 2026 03:20:21 +1000 Subject: [PATCH] Use github.token for auto-merge authentication --- .gitea/workflows/validate-pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/validate-pr.yml b/.gitea/workflows/validate-pr.yml index eeb5aeb..c69ffd1 100644 --- a/.gitea/workflows/validate-pr.yml +++ b/.gitea/workflows/validate-pr.yml @@ -82,8 +82,8 @@ jobs: git config user.name "gitea-actions[bot]" git config user.email "gitea-actions[bot]@users.noreply.gitea.io" - # Set up authenticated remote URL - git remote set-url origin "http://oauth2:${{ secrets.AUTO_MERGE_TOKEN }}@synbox.ruv.wtf:8418/litruv/Plugin-Directory.git" + # Set up authenticated remote URL using github.token + git remote set-url origin "http://oauth2:${{ github.token }}@synbox.ruv.wtf:8418/litruv/Plugin-Directory.git" # Fetch and merge git fetch origin ${{ github.event.pull_request.head.ref }}