Skip to content

Commit da1a5fd

Browse files
committed
refactor: Remove manual git credential configuration
The actions/checkout action already handles git credential configuration when token or ssh-key is provided. Manual configuration was redundant and could potentially interfere with checkout's credential handling.
1 parent 009fee2 commit da1a5fd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

updater/action.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -232,16 +232,6 @@ runs:
232232
233233
Write-Output "✓ SSH key format appears valid"
234234
235-
- name: Configure git credentials
236-
if: ${{ inputs.api-token != '' }}
237-
shell: pwsh
238-
env:
239-
GH_TOKEN: ${{ inputs.api-token }}
240-
run: |
241-
git config --global credential.https://github.saobby.my.eu.org.username git
242-
git config --global credential.https://github.saobby.my.eu.org.password $env:GH_TOKEN
243-
Write-Output "✓ Git credentials configured for GitHub operations"
244-
245235
# What we need to accomplish:
246236
# * update to the latest tag
247237
# * create a PR

0 commit comments

Comments
 (0)