From b6b2a1775d2b43a007550566b1a091ffa10b538c Mon Sep 17 00:00:00 2001 From: Sergii Stotskyi Date: Sun, 29 Sep 2024 07:34:35 +0300 Subject: [PATCH] chore: fixes gh token for external contributors --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be9cd907a..6aee4d6e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: run: pnpm run -r build - name: Release env: - GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN || github.token }} NPM_TOKEN: ${{ secrets.RELEASE_NPM_TOKEN }} ACTIONS_STEP_DEBUG: ${{ secrets.ACTIONS_STEP_DEBUG }} PREVIEW_RELEASE: ${{ github.event.pull_request.merged == true && 'no' || 'yes' }}