name: Release on: push: branches: - main - next # Rerunning a failed release replays the reusable workflow at the commit # it was first resolved to, so fixes to the shared workflow never reach a # rerun. A manual dispatch starts a fresh run that resolves `@main` anew. workflow_dispatch: concurrency: ${{ github.workflow }}-${{ github.ref }} permissions: contents: read # for checkout jobs: release: uses: portabletext/.github/.github/workflows/changesets-v3.yml@main permissions: contents: read # for checkout id-token: write # to enable use of OIDC for npm provenance with: TURBO_TEAM: ${{ vars.TURBO_TEAM }} version: pnpm changeset:version secrets: inherit