From 574732c2eb8ce22a0f0f333c365b318e174d3c38 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 12 Mar 2020 19:24:18 +0100 Subject: [PATCH] - chore: use ssh to push CI commit --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f24afcf..781b18c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,7 @@ jobs: git add -A TAG="v$(node -p "require('./package.json').version")" git commit -m "- chore: version bump ($TAG) [skip ci]" + git remote set-url origin "$(git config --get remote.origin.url | sed 's#http.*com/#git@github.com:#g')" git tag "$TAG" git push --tags origin $GITHUB_REF ssh-agent -k