add github workload write permission

Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
This commit is contained in:
liheng.zms 2023-02-15 09:57:11 +08:00
parent f528b9896c
commit 77e5a91347
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,7 @@ on:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
id-token: write
contents: write
jobs:
publish:
@ -45,4 +46,3 @@ jobs:
env:
CR_TOKEN: "${{ secrets.GH_TOKEN }}"
CR_SKIP_EXISTING: "true"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"