From ff459a8da374a2401b2d8f177423a129535f40ba Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 24 Jan 2026 19:44:33 +0000 Subject: [PATCH] Use PAT for release workflow to bypass branch protection Replace GITHUB_TOKEN with RELEASE_TOKEN secret to allow pushing directly to main branch during automated releases. --- .github/workflows/create-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 69e3847f..fe0cb61e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -18,7 +18,8 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} + # Use PAT with bypass permissions for pushing to protected branch + token: ${{ secrets.RELEASE_TOKEN }} - name: Validate version format run: |