From d58cd676af2fd53486f47c4c4cb73551c2af799f Mon Sep 17 00:00:00 2001 From: Andrei Yankovich Date: Sun, 15 Nov 2026 18:21:18 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Andrei Yankovich --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d589dd9..597036a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,9 @@ name: Build and Test +permissions: + contents: read + # Builds the OpenSimplex2 CMake project and runs its tests via CTest. # `enable_testing()` creates the `test` build target which executes all # tests registered with add_test() in tests/CMakeLists.txt (see