修复 GitHub Actions 权限设置

This commit is contained in:
shaw
2025-07-19 01:26:21 +08:00
parent 756c149282
commit 883a0f8c2d

View File

@@ -67,6 +67,9 @@ jobs:
needs: build
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
permissions:
contents: read
security-events: write
steps:
- name: Run Trivy vulnerability scanner