diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 291b7b3a..1e18e78a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,13 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: + - name: Create GitHub App Token + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.CHANGESET_CI_TRIGGER_APP_ID }} + private-key: ${{ secrets.CHANGESET_CI_TRIGGER_APP_PRIVATE_KEY }} + - uses: actions/checkout@v4 with: sparse-checkout: | @@ -29,13 +36,6 @@ jobs: with: working-directory: ${{ env.working-directory }} - - name: Create GitHub App Token - uses: actions/create-github-app-token@v1 - id: app-token - with: - app-id: ${{ vars.CI_TRIGGER_APP_ID }} - private-key: ${{ secrets.CI_TRIGGER_APP_PRIVATE_KEY }} - - name: Create Release Pull Request or Publish to npm uses: changesets/action@v1.4.9 with: