File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,15 @@ jobs:
22
22
- run : npm ci
23
23
- name : Build
24
24
run : npx nx run-many --target=build --parallel=3
25
- - name : Create Version
25
+ - name : Git Identity
26
26
run : |
27
- git config user.name "${{ github.actor }}"
28
- git config user.email "${{ github.actor}}@users.noreply.github.com"
29
- npx lerna version --no-private --conventional-commits --yes
27
+ git config --global user.name 'github-actions[bot]'
28
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
29
+ git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ - name : Create Version
33
+ run : npx lerna version --no-private --conventional-commits --yes
30
34
env :
31
35
GH_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
32
36
GITHUB_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments