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 5c25389 commit 5c5dc58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions actions/update/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ 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 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 5c5dc58

Please sign in to comment.