From ac2b994983ef855a100c954efea67df3bc382fd1 Mon Sep 17 00:00:00 2001 From: devswithme Date: Thu, 13 Nov 2025 22:19:23 +0800 Subject: [PATCH] chore: fix ci.yml issue #8 --- .github/workflows/npm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 354a0d2..fc085b4 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - persist-credentials: true + token: ${{ secrets.PAT_TOKEN }} fetch-depth: 0 - uses: actions/setup-node@v4 @@ -39,8 +39,8 @@ jobs: - name: Configure git user run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" + git config user.name "${{ github.event.pull_request.merged_by.login }}" + git config user.email "${{ github.event.pull_request.merged_by.login }}@users.noreply.github.com" - name: Bump version and publish env: