From fde406326dbceecc4df457b6c5d6b457bb74ad70 Mon Sep 17 00:00:00 2001 From: scott45 Date: Mon, 2 Dec 2024 11:52:45 +0300 Subject: [PATCH] feat: publish with token that has write access --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c323484..ad847ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,6 +37,11 @@ jobs: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc cat .npmrc + - name: Configure Git + run: | + git config user.email ${{ secrets.GH_EMAIL }} + git config user.name ${{ secrets.GH_USERNAME }} + - name: Version bumping env: GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'