From 66e34994439972f0dd6ad16222cc1d69cce32e4d Mon Sep 17 00:00:00 2001 From: Andrew Kaiser Date: Tue, 20 Oct 2020 22:07:26 -0400 Subject: [PATCH] fix workflow script, include git user --- .github/workflows/npm-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 3462cfd..9ec1dca 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -21,6 +21,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.github_token }} NODE_AUTH_TOKEN: ${{secrets.npm_token}} - run: git fetch origin master + - run: git config --local user.email "action@github.com" + - run: git config --local user.name "GitHub Publish Action" - run: git checkout master - run: git add package.json - run: git commit --message "release $TAG"