Skip to content

Commit adf2152

Browse files
committed
feat(chore): restore yaml
1 parent b29708c commit adf2152

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name: Release [Manual]
44
on: workflow_dispatch
55
permissions:
6-
contents: read,write
6+
contents: write
77
id-token: write
88
jobs:
99
Release:
@@ -14,7 +14,7 @@ jobs:
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.RELEASE_COMMIT_GH_PAT }}
17+
token: ${{ secrets.GITHUB_TOKEN }}
1818
- name: Setup Node
1919
uses: actions/setup-node@v3
2020
with:
@@ -27,7 +27,7 @@ jobs:
2727
git config --global user.email $CONFIG_EMAIL
2828
git remote set-url origin https://$GITHUB_ACTOR:[email protected]/sourcefuse/llm-chat-component
2929
env:
30-
GITHUB_PAT: ${{ secrets.RELEASE_COMMIT_GH_PAT }}
30+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3131
CONFIG_USERNAME: ${{ vars.RELEASE_COMMIT_USERNAME }}
3232
CONFIG_EMAIL: ${{ vars.RELEASE_COMMIT_EMAIL }}
3333

@@ -41,4 +41,4 @@ jobs:
4141
npm config set provenance true
4242
HUSKY=0 npx semantic-release
4343
env:
44-
GH_TOKEN: ${{ secrets.RELEASE_COMMIT_GH_PAT }}
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)