Skip to content

Commit a313531

Browse files
committed
ci: create release PR
1 parent dd9938c commit a313531

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ jobs:
5151
env:
5252
# Use a token to publish to NPM. See below for how to set it up
5353
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
54-
- run: git push
55-
env:
56-
github-token: ${{ secrets.GITHUB_TOKEN }}
54+
- name: Create Release Pull Request
55+
uses: peter-evans/create-pull-request@v3
56+
with:
57+
branch: release/v${{ github.event.release.tag_name }}
58+
delete-branch: true
59+
title: Release v${{ github.event.release.tag_name }}
60+
reviewers: dwightjack
61+
committer: GitHub Release Bot <[email protected]>

0 commit comments

Comments
 (0)