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:
token: ${{ secrets.NPM_TOKEN }}
# Step V
- name: Generate changelog
uses: hideoo/changelogithub-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Changelog
run: npx changelogithub@0.12
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}