Skip to content

Commit

Permalink
fix: canary uses GITHUB_TOKEN from PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed May 1, 2024
1 parent 4cba24a commit 56f7f3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.CHANGESET_GITHUB_TOKEN }}

- name: Create git branch
run: |
Expand Down Expand Up @@ -89,6 +91,7 @@ jobs:
if: ${{ steps.secrets.outputs.exist == 'true' && github.event_name == 'pull_request' }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
run: |
cat << EOF > .changeset/force-canary-build.md
---
Expand Down

0 comments on commit 56f7f3e

Please sign in to comment.