ci: add security-events write permission for CodeQL

This commit is contained in:
hicccc77
2026-03-27 19:12:20 +08:00
parent bb60694013
commit da15f829d3

View File

@@ -5,6 +5,11 @@ on:
- cron: '0 2 * * *' # 每天 UTC 02:00北京时间 10:00
workflow_dispatch: # 支持手动触发
permissions:
contents: read
security-events: write
actions: read
jobs:
security-scan:
name: Security Scan (${{ matrix.branch }})