Skip to content

Commit ec758bc

Browse files
author
ClaudiaFang
committed
chore: support custom RELEASE_TOKEN in release workflow
1 parent 2e8a81a commit ec758bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/semantic-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
- run: npm ci
5353
- run: npm run build
5454
- env:
55-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
5656
run: npx semantic-release

0 commit comments

Comments
 (0)