From 979ee72156ba06017e9b7ad1507bbcaf3c40b311 Mon Sep 17 00:00:00 2001 From: Adarsh Kumar <117731590+adarsh0707-kumar@users.noreply.github.com> Date: Mon, 14 Sep 2026 13:31:03 +0530 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> --- .github/workflows/cmake-single-platform.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 0ac33d9..48ef23a 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -2,6 +2,9 @@ # See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml name: CMake on a single platform +permissions: + contents: read + on: push: branches: [ "main" ]