From 1201f6b66ca64aa0dd9e62e6d9c224e1e629b2e4 Mon Sep 17 00:00:00 2001 From: Divyesh Bhandari <79130336+divyeshio@users.noreply.github.com> Date: Thu, 16 Apr 2026 01:22:22 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 7: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4cf528c..5c94d1e 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -11,6 +11,8 @@ jobs: lint-format: runs-on: ubuntu-latest name: Lint and Format Code + permissions: + contents: read steps: - uses: actions/checkout@v6 with: