diff --git a/.github/workflows/release-main.yml b/.github/workflows/release-main.yml index da7966f..467ed93 100644 --- a/.github/workflows/release-main.yml +++ b/.github/workflows/release-main.yml @@ -19,6 +19,7 @@ jobs: with: fetch-depth: 0 ref: main + token: ${{ secrets.CI_GITHUB_PAT }} - name: Merge canary into main run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 940c43e..7aade20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Release run: pnpm semantic-release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.CI_GITHUB_PAT }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} sync-canary: @@ -34,6 +34,7 @@ jobs: with: fetch-depth: 0 ref: canary + token: ${{ secrets.CI_GITHUB_PAT }} - name: Back-merge main into canary run: |