From f1cd6f7718f63ba9aa0d2ff5d1610308aa723c70 Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Tue, 23 Jan 2024 16:12:22 +0100 Subject: [PATCH] Fix access issue to push new version --- .github/workflows/publish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 04fe1cbb6..994e1c981 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,9 +27,10 @@ jobs: - name: "Version and publish" env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | - git config user.name "${{ secrets.RELEASE_USER }}" - git config user.email "${{ secrets.RELEASE_USER_EMAIL }}" - yarn lerna version --conventional-commits --conventional-prerelease=* --yes + - name: Version & publish + run: | + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' + yarn lerna version --conventional-commits --conventional-prerelease=* --yes --no-push yarn lerna publish from-git --yes --no-private