Skip to content

Commit

Permalink
fix: set git password in update action
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 30, 2025
1 parent ce7f413 commit fabce4c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions actions/update/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ runs:
- name: Configure Git
shell: bash
run: |
git config user.name "${{ steps.app-token.outputs.app-slug }}[bot]"
git config user.email "${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com"
git config --local --unset credential.helper
git config --global --unset credential.helper
git config --system --unset credential.helper
git config --local user.name "${{ steps.app-token.outputs.app-slug }}[bot]"
git config --local user.email "${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com"
git config --local user.password "${{ steps.app-token.outputs.token }}"
- name: Create commit
id: commit
Expand Down

0 comments on commit fabce4c

Please sign in to comment.