diff --git a/.github/workflows/prepare-publish.yml b/.github/workflows/prepare-publish.yml index 241e187b..fac2be8b 100644 --- a/.github/workflows/prepare-publish.yml +++ b/.github/workflows/prepare-publish.yml @@ -25,6 +25,13 @@ jobs: - name: Setup dependencies run: pnpm install + - name: Get auth token + id: token + uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 + with: + app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }} + private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }} + - name: Create Release Pull Request id: changesets uses: changesets/action@v1 @@ -33,4 +40,4 @@ jobs: commit: 'meta(changelog): Update package versions' title: 'meta(changelog): Update package versions' env: - GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }} + GITHUB_TOKEN: ${{ steps.token.outputs.token }}