File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717 if : startsWith(github.repository, 'StyleShit/')
1818
19- permissions :
20- contents : write # to create release (changesets/action)
21- issues : write # to post issue comments (changesets/action)
22- pull-requests : write # to create pull request (changesets/action)
23-
2419 steps :
2520 - uses : actions/checkout@v4
2621 with :
@@ -33,18 +28,11 @@ jobs:
3328
3429 - run : npm ci
3530
36- - name : Cache build
37- id : cache-build
38- uses : actions/cache@v4
39- env :
40- cache-name : cache-build
41- with :
42- path : ./dist
43- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
44- restore-keys : |
45- ${{ runner.os }}-build-${{ env.cache-name }}-
46- ${{ runner.os }}-build-
47- ${{ runner.os }}-
31+ # See https://github.com/actions/checkout/blob/85e6279cec87321a52edac9c87bce653a07cf6c2/README.md#push-a-commit-using-the-built-in-token
32+ - name : Config git user
33+ run : |
34+ git config --global user.name "StyleShit"
35+ git config --global user.email "32631382+StyleShit@users.noreply.github.com"
4836
4937 - name : Create release PR or publish
5038 id : changesets
5341 publish : npm run release
5442 commit : ' chore(release): publish'
5543 title : ' chore(release): publish'
44+ setupGitUser : false
5645 env :
57- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ GITHUB_TOKEN : ${{ secrets.CHANGESETS_TOKEN }}
5847 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments