From c1ad753769cba5591aaf36a06b13919c12255d36 Mon Sep 17 00:00:00 2001 From: zepatrik Date: Thu, 28 Oct 2021 19:16:22 +0200 Subject: [PATCH] ci: change git commit strategy for npm publish workflow --- .github/workflows/npm_publish_grpc_client.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/npm_publish_grpc_client.yml b/.github/workflows/npm_publish_grpc_client.yml index 9b831bb5d..5d2b0b051 100644 --- a/.github/workflows/npm_publish_grpc_client.yml +++ b/.github/workflows/npm_publish_grpc_client.yml @@ -27,14 +27,11 @@ jobs: cat <<< $(jq '.version = (env.RELEASE_VERSION | sub("(^refs/tags/v)|(^v)"; ""))' package.json) > package.json env: RELEASE_VERSION: ${{ github.event.inputs.version || github.ref }} - - uses: EndBug/add-and-commit@v7 - with: - branch: master - add: package.json - author_name: zepatrik - author_email: zepatrik@users.noreply.github.com - cwd: proto - message: 'autogen: bump node gRPC client version' + - run: |- + git config --local user.email "zepatrik@users.noreply.github.com" + git config --local user.name "zepatrik" + git add proto/package.json + git commit -m "autogen: bump node gRPC client version" - run: |- cd proto npm publish --access public