Potential fix for code scanning alert no. 4: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Zhi Guan
2026-05-27 12:40:41 +08:00
committed by GitHub
parent b8d0a5b1ec
commit 9933b135ee

View File

@@ -6,6 +6,9 @@ on:
pull_request:
branches: [ "master" ]
permissions:
contents: read
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release