Skip to content

fix CodeQL code scanning warning - #113

Merged
skywind3000 merged 1 commit into
skywind3000:masterfrom
myd7349:fix-codeql-warning
Aug 3, 2026
Merged

fix CodeQL code scanning warning#113
skywind3000 merged 1 commit into
skywind3000:masterfrom
myd7349:fix-codeql-warning

Conversation

@myd7349

@myd7349 myd7349 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

#112 中,忘记给 build-gcc 这个 job 设置 permissions 了,导致 CodeQL code scanning 还有一个 warning 没消除(需要开启/配置 CodeQL code scanning 才可以看到):

CodeQL warning

本 PR 把设置在 build-msvc 上的 permission 挪至顶端,以便于应用到 build-msvc、build-gcc 两个 jobs(release job 已单独设置了 write 权限,会覆盖这个全局的权限)。

@skywind3000
skywind3000 merged commit 12c369d into skywind3000:master Aug 3, 2026
9 checks passed
@myd7349
myd7349 deleted the fix-codeql-warning branch August 5, 2026 16:52
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