ci(workflow): 添加部署工作流的写入权限

添加 contents: write 权限以允许工作流推送更改
This commit is contained in:
二叉树树
2025-11-24 18:58:29 +08:00
parent d7ccc71a84
commit 376ebbae5a

View File

@@ -6,6 +6,8 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3