Explorar o código

fix release workflow

Yuki Takei %!s(int64=6) %!d(string=hai) anos
pai
achega
8b55533bee
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      .github/workflows/release.yml

+ 1 - 0
.github/workflows/release.yml

@@ -35,6 +35,7 @@ jobs:
     - name: Push tag
       run: |
         TMP_RELEASE_BRANCH=tmp/release-${{ env.RELEASE_VERSION }}
+        git remote set-url origin "https://${{ env.GITHUB_ACTOR }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ env.GITHUB_REPOSITORY }}"
         git push origin HEAD:$TMP_RELEASE_BRANCH --follow-tags
         git push --delete origin $TMP_RELEASE_BRANCH