Skip to content

Commit

Permalink
add rm gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev committed May 14, 2024
1 parent 42f4c9c commit 2550d2d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/build-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ runs:
shell: bash
- name: Git config
if: ${{ inputs.github_ro_token != '' }}
run: git config --global url."https://$GITHUB_TOKEN@github".insteadOf https://github
run: |
if [ -f ~/.gitconfig ]; then
rm ~/.gitconfig
touch ~/.gitconfig
fi
git config --global url."https://$GITHUB_TOKEN@github".insteadOf https://github
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.github_ro_token }}
Expand Down

0 comments on commit 2550d2d

Please sign in to comment.