Prepare Release (#1164) #5
This file contains hidden or 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: Version Packages | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
concurrency: version-or-publish-${{ github.ref }} | |
jobs: | |
version: | |
name: Prepare Release PR | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2 | |
with: | |
fetch-depth: 0 # To get all tags | |
ref: ${{ github.ref }} | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Create Prepare Release PR | |
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3 | |
with: | |
title: Prepare Release | |
commit: Prepare Release | |
version: npm run version | |
commitMode: github-api | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |