diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index 885a6fd888c..8aa54bf2052 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -18,9 +18,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - with: - # Do not persist credentials so changesets can use the provided token - persist-credentials: false - name: Install pnpm uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6 @@ -37,11 +34,10 @@ jobs: - name: Run Changesets id: changesets - uses: changesets/action@v1 + uses: changesets/action@198f833dd7d863100ea6e28967bc9a9fdefadb0a # v2.1.0 with: - publish: pnpm changesets-release - version: pnpm changesets-version - title: Packages ready to publish - commit: Publish new versions - env: - GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }} + publish-script: pnpm changesets-release + version-script: pnpm changesets-version + pr-title: Packages ready to publish + commit-message: Publish new versions + github-token: ${{ secrets.CHANGESETS_TOKEN }}