From 7095354bd9c00a5ccb6d2113686fe18dee98aff9 Mon Sep 17 00:00:00 2001 From: motoyannn Date: Fri, 29 Dec 2023 15:36:38 +0900 Subject: [PATCH] fix: change the github configuration --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 85df4dac0..d7ae14e53 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,6 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false - ref: release - name: Generate a token id: generate_token @@ -44,8 +43,8 @@ jobs: - name: git config run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}" + git config --global user.name "sheincbot[bot]" + git config --global user.email "${{ secrets.APP_ID }}+sheincbot[bot]@users.noreply.github.com" - name: Package install run: pnpm install --frozen-lockfile @@ -65,7 +64,7 @@ jobs: git add . git commit -m "chore: update version" git tag v${{ steps.get_version.outputs.version }} - git push origin --tags + git push origin release --tags - name: Publish package run: pnpm run -w release