name: Changeset on: pull_request: branches: - main permissions: contents: read pull-requests: write jobs: changeset: # Dependabot does not write changesets, so this gate failed on every bump # that touched a workspace package.json. Its updates here are devDependencies # that change nothing we publish; a runtime bump rides along with the next # release rather than triggering one of its own. if: github.head_ref != 'changeset-release/main' && github.actor != 'dependabot[bot]' runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: actions/setup-node@v6 with: node-version: 22 - name: Enable Corepack run: corepack enable - name: Install pnpm run: corepack prepare pnpm@latest --activate - name: Install dependencies run: pnpm install --frozen-lockfile - name: Check for changeset run: pnpm changeset status --since=origin/main