Skip to content

Commit 0322011

Browse files
committed
ci: add git config
1 parent 9f462cb commit 0322011

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252

5353
- name: Release new version 🛠
5454
run: |
55-
git config --global user.email "${{ vars.GIT_EMAIL }}"
56-
git config --global user.name "${{ vars.GIT_NAME }}"
57-
pnpm exec nx release ${{ github.event.inputs.version || '' }} --verbose --dryRun=${{ github.event.inputs.dryRun }}
55+
git config user.name "github-actions[bot]"
56+
git config user.email "github-actions[bot]@users.noreply.github.com"
57+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
5858
env:
5959
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)