fix: 添加 workflow 权限声明 (contents, actions, issues)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
parent
b162126a14
commit
9e334989b8
|
|
@ -4,6 +4,10 @@ on:
|
|||
- cron: '0 2 * * *' # UTC 02:00 = 北京 10:00
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
checkin:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -4,6 +4,11 @@ on:
|
|||
- cron: '0 4 * * *' # UTC 04:00 = 北京 12:00
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
inspection:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in New Issue