chore: support custom RELEASE_TOKEN in release workflow

This commit is contained in:
ClaudiaFang 2026-04-25 04:41:43 +00:00
parent 2e8a81ac10
commit ec758bc424

View file

@ -52,5 +52,5 @@ jobs:
- run: npm ci
- run: npm run build
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
run: npx semantic-release