Skip to content

Commit

Permalink
πŸ”₯ hotfix: Fix token and username for Bot
Browse files Browse the repository at this point in the history
  • Loading branch information
zrosenbauer committed May 18, 2024
1 parent a0ad9a0 commit 8827d68
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
steps:
- name: 'πŸ›’ Checkout Code'
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_BOT_TOKEN }}

- name: '🟒 Use Node.js'
uses: actions/setup-node@v4
Expand Down Expand Up @@ -47,8 +49,8 @@ jobs:
- name: 'πŸ’Ύ Commit Incremented Version'
if: ${{ inputs.version != 'calculate' }}
run: |
git config --local user.email "<>"
git config --local user.name "Mr. Release Bot [bot]"
git config --local user.email "${{ secrets.GH_BOT_EMAIL }}"
git config --local user.name "${{ secrets.GH_BOT_NAME }}"
git add package.json
git commit -am "[πŸ€– release]: ${{ steps.version.outputs.result }} (${{ inputs.version }})"
git push origin HEAD --force
Expand Down

0 comments on commit 8827d68

Please sign in to comment.