Potential fix for code scanning alert no. 5: 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:37:38 +08:00
committed by GitHub
parent 4cb2346bc5
commit 0df606b2b2

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