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 :
@@ -46,13 +41,20 @@ jobs:
4641 ${{ runner.os }}-build-
4742 ${{ runner.os }}-
4843
44+ # See https://github.com/actions/checkout/blob/85e6279cec87321a52edac9c87bce653a07cf6c2/README.md#push-a-commit-using-the-built-in-token
45+ - name : Config git user
46+ run : |
47+ git config --global user.name "github-actions[bot]"
48+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
49+
4950 - name : Create release PR or publish
5051 id : changesets
5152 uses : changesets/action@v1
5253 with :
5354 publish : npm run release
5455 commit : ' chore(release): publish'
5556 title : ' chore(release): publish'
57+ setupGitUser : false
5658 env :
57- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59+ GITHUB_TOKEN : ${{ secrets.CHANGESETS_TOKEN }}
5860 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments