From d6d8ad9a7ab8d0ef6a2403325d22f8dc5f7490f6 Mon Sep 17 00:00:00 2001 From: Krait Date: Thu, 28 May 2026 21:17:53 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 3: 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-compliance.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-compliance.yml b/.github/workflows/pr-compliance.yml index 50ddc38..65501e6 100644 --- a/.github/workflows/pr-compliance.yml +++ b/.github/workflows/pr-compliance.yml @@ -4,6 +4,9 @@ on: pull_request: types: [opened, edited, reopened] +permissions: + contents: read + jobs: validate-template: name: Check PR Content