From 56f7f3ea88daac579712c8c8440d300abdbec12d Mon Sep 17 00:00:00 2001 From: Richard Gill Date: Wed, 1 May 2024 16:03:00 +0000 Subject: [PATCH] fix: canary uses GITHUB_TOKEN from PAT --- .github/workflows/canary.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index bd84a887..946dc94d 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -24,6 +24,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + token: ${{ secrets.CHANGESET_GITHUB_TOKEN }} - name: Create git branch run: | @@ -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 ---