Skip to content

Commit 013e653

Browse files
committed
ci: remove automated git push from publish workflow
1 parent 49291b9 commit 013e653

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,3 @@ jobs:
5757
run: npm publish
5858
env:
5959
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
60-
61-
- name: Push changes
62-
if: steps.changelog.outputs.skipped == 'false'
63-
env:
64-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65-
run: |
66-
git config --global user.name 'github-actions[bot]'
67-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
68-
git add package.json CHANGELOG.md
69-
git commit -m "chore(release): v${{ steps.changelog.outputs.version }}"
70-
git push "https://$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git" HEAD:main

0 commit comments

Comments
 (0)