From 799ae5f47862d598837d27e57fa70cf961de5f9f Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 18 Apr 2026 12:31:42 -0500 Subject: [PATCH] Fix: use GA_TOKEN for push to main (branch protection requires jmiller) The default checkout token doesn't have push access to protected main. Set remote URL with GA_TOKEN (jmiller's PAT) for authenticated push. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 971fe0d..2801d6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -378,6 +378,7 @@ jobs: VERSION="${{ steps.meta.outputs.version }}" CURRENT_BRANCH="${{ github.ref_name }}" TOKEN="${{ secrets.GA_TOKEN }}" + TOKEN="${{ secrets.GA_TOKEN }}" git config --local user.email "gitea-actions[bot]@mokoconsulting.tech" git config --local user.name "gitea-actions[bot]" @@ -385,6 +386,9 @@ jobs: git commit -m "chore: update ${STABILITY} SHA-256 for ${VERSION} [skip ci]" \ --author="gitea-actions[bot] " + # Set push URL with GA_TOKEN for authenticated pushes + git remote set-url origin "https://jmiller:${TOKEN}@git.mokoconsulting.tech/${GITEA_ORG}/${GITEA_REPO}.git" + # Push to current branch git push || true