Skip to content

Commit

Permalink
fix: change the github configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
motoya-k committed Dec 29, 2023
1 parent f40c94f commit 7095354
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
ref: release

- name: Generate a token
id: generate_token
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7095354

Please sign in to comment.