chore(ci): set correct permission of `GITHUB_TOKEN`

This commit is contained in:
郭桓桓 2023-02-28 19:15:05 +08:00
parent 35077abd10
commit 08d56cfa67
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
1 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ jobs:
with: with:
token: ${{ secrets.NPM_TOKEN }} token: ${{ secrets.NPM_TOKEN }}
# Step V # Step V
- name: Generate changelog - name: Generate Changelog
uses: hideoo/changelogithub-action@v1 run: npx changelogithub@0.12
with: env:
token: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}