Skip to content

fix: 限制持续集成令牌权限 - #1

Merged
Matrtex merged 1 commit into
mainfrom
fix/codeql-permissions-20260811
Aug 11, 2026
Merged

Matrtex merged 1 commit into
mainfrom
fix/codeql-permissions-20260811

Conversation

@Matrtex

@Matrtex Matrtex commented Aug 11, 2026

Copy link
Copy Markdown
Owner

变更

  • 为 CI workflow 显式设置 contents: read
  • 将 GITHUB_TOKEN 权限限制为测试所需的最小范围
  • 修复 CodeQL actions/missing-workflow-permissions 告警

验证

  • python -m unittest discover -s tests:13 项通过
  • YAML 解析与 git diff --check:通过

Copilot AI lite review requested due to automatic review settings August 11, 2026 12:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Matrtex
Matrtex merged commit 7c6881e into main Aug 11, 2026
5 checks passed
@Matrtex
Matrtex deleted the fix/codeql-permissions-20260811 branch August 11, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants