From f5bf1bfa09032fa129b99012a8bd7ec14f77b5e6 Mon Sep 17 00:00:00 2001 From: Tony Gaeta Date: Sat, 21 Feb 2026 14:54:04 -0500 Subject: [PATCH] fix: use GH_PAT for checkout so semantic-release/git can push to main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The checkout action sets up git remote auth. Without explicit token, git push uses GITHUB_TOKEN (no admin bypass). With GH_PAT (from repo admin), pushes bypass branch protection rules. Keeps @semantic-release/git — automatic version bumping stays. --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 817f6b4..978922c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.GH_PAT }} - name: Setup Node.js uses: actions/setup-node@v4