File tree 1 file changed +14
-10
lines changed
1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -11,26 +11,26 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
name : Release
13
13
steps :
14
+ - name : Generate Github App Token
15
+ id : github_app_token
16
+ uses : actions/create-github-app-token@v1
17
+ with :
18
+ app-id : ${{ secrets.RELEASE_BOT_APP_ID }}
19
+ private-key : ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}
20
+
14
21
- uses : actions/checkout@v4
15
22
with :
16
23
fetch-depth : 0
17
24
ref : main
25
+ token : ${{ steps.github_app_token.outputs.token }}
26
+
18
27
- uses : actions/setup-node@v4
19
28
with :
20
29
node-version : 20
30
+
21
31
- uses : pnpm/action-setup@v3
22
32
with :
23
33
run_install : true
24
- - run : |
25
- cd packages/bento-design-system
26
- pnpm version --no-git-tag-version --new-version ${{ github.ref_name }}
27
-
28
- - name : Generate Github App Token
29
- id : github_app_token
30
- uses : actions/create-github-app-token@v1
31
- with :
32
- app-id : ${{ secrets.RELEASE_BOT_APP_ID }}
33
- private-key : ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}
34
34
35
35
- name : Commit & Push changes
36
36
uses : actions-js/push@master
40
40
author_email : 168835274+buildo-release-bot[bot]@users.noreply.github.com
41
41
github_token : ${{ steps.github_app_token.outputs.token }}
42
42
43
+ - run : |
44
+ git config --global user.name "buildo-release-bot[bot]"
45
+ git config --global user.email "168835274+your-app[bot]@users.noreply.github.com"
46
+
43
47
- name : Publish to npm
44
48
uses : JS-DevTools/npm-publish@v3
45
49
with :
You can’t perform that action at this time.
0 commit comments