Skip to content

Commit

Permalink
CONFIG: removing the .extraheader header
Browse files Browse the repository at this point in the history
  • Loading branch information
UmairJibran authored May 24, 2023
1 parent e0beafd commit de2a3fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ runs:
git remote add origin https://${{ github.repository_owner }}:${{ env.GITHUB_PAT }}@github.com/${{ github.repository }}.git
else
echo "UPDATING REMOTE ORIGIN FOR PRE EXISTING REPO"
git config --unset http.https://github.com/.extraheader
git remote set-url origin https://${{ github.repository_owner }}:${{ env.GITHUB_PAT }}@github.com/${{ github.repository }}.git
fi
git fetch
Expand Down

0 comments on commit de2a3fa

Please sign in to comment.