Changesets #194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changesets | |
on: | |
workflow_run: | |
workflows: ["CI"] | |
branches: ["main"] | |
types: | |
- completed | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
changesets: | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
name: Create pull request | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./tooling/github/setup | |
- name: Create version pull request | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
title: "chore: version packages" | |
commit: "chore: version packages" | |
version: pnpm changeset:version | |
publish: pnpm changeset:release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |