From f1c202f01421660c7d087f15b28a60ada043b794 Mon Sep 17 00:00:00 2001 From: "Muhamed Fazeel K.A" Date: Fri, 20 Feb 2026 22:44:22 +0530 Subject: [PATCH 1/2] 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/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69d7f28..6541605 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,8 @@ name: CI +permissions: + contents: read + on: push: branches: [main] From d79f9add262e1e1dbd931596f49dc19dba20c9c3 Mon Sep 17 00:00:00 2001 From: "Muhamed Fazeel K.A" Date: Fri, 20 Feb 2026 22:45:17 +0530 Subject: [PATCH 2/2] Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8365d04..f5b4549 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,7 @@ # Lint workflow: shellcheck, shfmt, and standards verification for all shell scripts. name: Lint +permissions: + contents: read on: push: