fix: 添加 workflow 权限声明 (contents, actions, issues)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-17 06:59:51 +00:00
parent b162126a14
commit 9e334989b8
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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