-
fix: Add restrictive top-level permissions to workflow files (#1151)
发布于
2025-11-25 21:00:37 +00:00 - fix: Add restrictive top-level permissions to workflow files
- sync-main-to-dev.yml: Add top-level permissions (contents: read)
- version_check.yml: Change top-level from write to read, keep write at job level
- danger-zone-alert.yml: Add missing contents: read permission
This follows the principle of least privilege by restricting top-level
permissions and only escalating at the job level when needed.- chore: auto-bump version to 1.2.20
Co-authored-by: GitHub Action action@github.com
下载附件