Skip to content

Commit 7d5fff7

Browse files
committed
chore: fix git committer name
1 parent 73a0b31 commit 7d5fff7

File tree

3 files changed

+1229
-753
lines changed

3 files changed

+1229
-753
lines changed

.github/workflows/release.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ jobs:
4242
- name: 🚧 Install
4343
run: pnpm install --no-frozen-lockfile --ignore-scripts
4444

45-
# - name: 🔑 Generate Token
46-
# uses: wow-actions/use-app-token@v1
47-
# with:
48-
# app_id: ${{ secrets.APP_ID }}
49-
# private_key: ${{ secrets.PRIVATE_KEY }}
50-
# env_name: bot_token
45+
- name: 🔑 Generate Token
46+
uses: wow-actions/use-app-token@v2
47+
with:
48+
app_id: ${{ secrets.APP_ID }}
49+
private_key: ${{ secrets.PRIVATE_KEY }}
5150

5251
- name: 📦 Semantic Release
5352
uses: cycjimmy/semantic-release-action@v2
@@ -59,8 +58,8 @@ jobs:
5958
@semantic-release/git
6059
env:
6160
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
62-
GITHUB_TOKEN: ${{ secrets.APP_TOKEN }}
63-
GIT_AUTHOR_NAME: your-bot[bot]
64-
GIT_AUTHOR_EMAIL: your-bot[bot]@users.noreply.github.com
65-
GIT_COMMITTER_NAME: your-bot[bot]
66-
GIT_COMMITTER_EMAIL: your-bot[bot]@users.noreply.github.com
61+
GITHUB_TOKEN: ${{ env.BOT_TOKEN }}
62+
GIT_AUTHOR_NAME: ${{ env.BOT_NAME }}[bot]
63+
GIT_AUTHOR_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
64+
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}[bot]
65+
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com

example/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@
2929
"start:7": "server -a {1=0.0.0.0} --port {2=8080}"
3030
},
3131
"dependencies": {
32-
"@babel/core": "^7.20.2",
32+
"@babel/core": "^7.20.5",
3333
"@babel/plugin-syntax-flow": "^7.18.6",
3434
"@babel/plugin-transform-react-jsx": "^7.19.0",
35-
"@rollup/plugin-commonjs": "^23.0.2",
35+
"@rollup/plugin-commonjs": "^23.0.3",
3636
"@rollup/plugin-node-resolve": "^15.0.1",
3737
"@rollup/plugin-replace": "^5.0.1",
38-
"@rollup/plugin-typescript": "^8.2.5",
39-
"@types/node": "^18.11.9",
40-
"fs-extra": "^10.0.0",
38+
"@rollup/plugin-typescript": "^10.0.1",
39+
"@types/node": "^18.11.10",
40+
"fs-extra": "^11.1.0",
4141
"npm-run-all": "^4.1.5",
42-
"postcss": "^8.4.18",
42+
"postcss": "^8.4.19",
4343
"rimraf": "^3.0.2",
44-
"rollup": "^3.2.5",
44+
"rollup": "^3.5.1",
4545
"rollup-plugin-auto-external": "^2.0.0",
4646
"rollup-plugin-filesize": "^9.1.1",
4747
"rollup-plugin-postcss": "^4.0.1",
4848
"rollup-plugin-progress": "^1.1.2",
4949
"rollup-plugin-terser": "^7.0.2",
5050
"run-shared-scripts": "link:..",
5151
"tslib": "^2.4.1",
52-
"typescript": "^4.4.3"
52+
"typescript": "^4.9.3"
5353
}
5454
}

0 commit comments

Comments
 (0)