chore(ci): 添加安全事件写入权限

- 在 GitHub Actions 工作流中添加 security-events 写入权限
- 允许工作流将安全相关事件写入存储库的安全功能
- 提升代码扫描和安全分析的集成能力
This commit is contained in:
GeWuYou 2026-02-02 12:29:27 +08:00
parent 5c8de84256
commit adc28efa26

View File

@ -10,6 +10,7 @@ on:
permissions:
contents: read
security-events: write
jobs:
test: