diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a2c84f6..98fd2d1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,11 @@ jobs: npm set registry "https://registry.npmjs.org/" npm set //registry.npmjs.org/:_authToken $NPM_TOKEN npm whoami + - name: Git Setup + run: | + git config user.name $GITHUB_ACTOR + git config user.email gh-actions-${GITHUB_ACTOR}@github.com + git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - name: Install Dependencies run: npm ci - name: Release