ci(workflows): set explicit GITHUB_TOKEN permissions for compile_windows

CodeQL flagged the workflow for not constraining GITHUB_TOKEN. Limit it
to contents: read since the job only needs to checkout sources and
upload artifacts.

Signed-off-by: Nuno Marques <n.marques21@hotmail.com>
This commit is contained in:
Nuno Marques
2026-05-07 16:24:35 -07:00
parent 3ca6829219
commit d1734ef561
+3
View File
@@ -26,6 +26,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: Windows SITL (${{ matrix.toolchain }})