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: