From 44168104527e3de1c852c40b52e7dfffed789d41 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Mon, 18 May 2026 15:55:33 -0500 Subject: [PATCH] fix(ci): pass app token via token input for softprops/action-gh-release softprops/action-gh-release@v3 reads the token from INPUT_TOKEN (set by the 'token' action input) before falling back to GITHUB_TOKEN. Setting env.GITHUB_TOKEN did not override INPUT_TOKEN so the action used the default GITHUB_TOKEN instead of the app-token, causing the 403. --- .github/workflows/promote-release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/promote-release.yml b/.github/workflows/promote-release.yml index 003d918e1..4dff4d04a 100644 --- a/.github/workflows/promote-release.yml +++ b/.github/workflows/promote-release.yml @@ -77,9 +77,8 @@ jobs: - name: create stable release uses: softprops/action-gh-release@v3 - env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} with: + token: ${{ steps.app-token.outputs.token }} tag_name: ${{ steps.version.outputs.stable_tag }} target_commitish: ${{ steps.version.outputs.commit_sha }} name: ${{ steps.version.outputs.stable_tag }}