From 204d35a71c294ee765f4894ed081850b0e7023d1 Mon Sep 17 00:00:00 2001 From: vankichi Date: Wed, 11 May 2022 14:47:35 +0900 Subject: [PATCH] :green_heart: fix ci for trigger release wf Signed-off-by: vankichi --- .github/workflows/update.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 6f2e977..f0bd364 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -12,6 +12,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + persist-credentials: false - name: Run gitwerk semver-auto run: | CURRENT_VERSION=`cat VALD_CLIENT_CLJ_VERSION` @@ -33,11 +34,11 @@ jobs: echo "${VERSION}" > VALD_CLIENT_CLJ_VERSION - git checkout master - git config --global user.name "VDaaS org" git config --global user.email "ci@vdaas.org" + git remote set-url origin "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" + git checkout master git add VALD_CLIENT_CLJ_VERSION git commit --signoff -m ":bookmark: Release ${VERSION}"