Skip to content

Commit

Permalink
fix: create a PR instead of direct commit (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
CjHare authored Sep 6, 2022
1 parent 58a5191 commit 9e7720d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


- name: Push version update (package.json)
run: git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}
uses: peter-evans/create-pull-request@v4
with:
title: Updating package.json version to ${{ github.event.release.tag_name }}
commit-message: 'release: version update'


0 comments on commit 9e7720d

Please sign in to comment.