Skip to content

Commit

Permalink
ci: use pat for release
Browse files Browse the repository at this point in the history
  • Loading branch information
zirkelc committed Oct 17, 2024
1 parent e016cc1 commit 66e224b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ jobs:
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Use PAT to create a new GitHub release PR, because the default GITHUB_TOKEN doesn't trigger workflows
# https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# https://github.com/orgs/community/discussions/55906
GITHUB_TOKEN: ${{ secrets.PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 66e224b

Please sign in to comment.