Skip to content

Commit c2c7cb6

Browse files
Merge pull request #122 from datavisyn/vdelev_autorelease_fix
fix: for failing git authentication
2 parents 4dee350 + f6de9ba commit c2c7cb6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release-post-merge.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ jobs:
4343
post_release:
4444
runs-on: ubuntu-22.04
4545
steps:
46+
- name: Git config
47+
run: |
48+
if [ -f ~/.gitconfig ]; then
49+
rm ~/.gitconfig
50+
touch ~/.gitconfig
51+
fi
52+
git config --global --replace-all url."https://[email protected]/".insteadOf ssh://[email protected]/
53+
git config --add --global url."https://$GITHUB_TOKEN@github".insteadOf https://github
54+
git config --add --global url."https://[email protected]/".insteadOf [email protected]:
55+
4656
- name: Checkout Repository
4757
uses: actions/checkout@v4
4858
with:

0 commit comments

Comments
 (0)