Merge pull request #3 from 108yen/feat/codeowners #2
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: Create Release Pull Request | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
version: | |
name: Create Release Pull Request | |
permissions: | |
pull-requests: write | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: pnpm/[email protected] | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Setup Git user | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "108yen" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Create Pull Request | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
title: "Update version" | |
commit: "ci(changesets): update version" | |
setupGitUser: false | |
branch: main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |