File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414 # fetch-depth is necessary to get all tags
1515 # otherwise lerna can't detect the changes and will end up bumping the versions for all packages
1616 fetch-depth : 0
17- token : ${{ secrets.GITHUB_TOKEN }}
17+ token : ${{ secrets.RELEASE_COMMIT_GH_PAT }}
1818 persist-credentials : false
1919 - name : Setup Node
2020 uses : actions/setup-node@v3
2626 run : |
2727 git config --global user.name $CONFIG_USERNAME
2828 git config --global user.email $CONFIG_EMAIL
29- git remote set-url origin https://[email protected] /sourcefuse/llm-chat-component 29+ git remote set-url origin https://$GITHUB_ACTOR:$GITHUB_PAT @github.com/sourcefuse/llm-chat-component
3030 env :
31+ GITHUB_PAT : ${{ secrets.RELEASE_COMMIT_GH_PAT }}
3132 CONFIG_USERNAME : ${{ vars.RELEASE_COMMIT_USERNAME }}
3233 CONFIG_EMAIL : ${{ vars.RELEASE_COMMIT_EMAIL }}
3334
4142 npm config set provenance true
4243 npx semantic-release
4344 env :
44- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45+ GH_TOKEN : ${{ secrets.RELEASE_COMMIT_GH_PAT }}
4546 HUSKY : 0
You can’t perform that action at this time.
0 commit comments