Skip to content

Commit b50a742

Browse files
authored
fix(workflow): include GitHub token for release creation (#9)
- Added `GH_TOKEN` to the release workflow environment variables to enable authenticated GitHub API requests. - Ensures that `gh release create` has the necessary credentials to execute successfully. - Maintains compatibility with existing environment setup while resolving potential authentication issues.
1 parent dcb0e41 commit b50a742

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
shell: sh
2020
env:
2121
RELEASE_VERSION: ${{ inputs.releaseVersion }}
22+
GH_TOKEN: ${{ github.token }}
2223
run: |
2324
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
2425
git config --global user.name "${GITHUB_ACTOR}"

0 commit comments

Comments
 (0)