From c7211603a1c0b694632f97bb90637ece5c2b8cff Mon Sep 17 00:00:00 2001 From: Ajay Dhangar <99037494+ajay-dhangar@users.noreply.github.com> Date: Fri, 26 Dec 2025 09:44:00 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 1817: 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_creation_workflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr_creation_workflow.yml b/.github/workflows/pr_creation_workflow.yml index acf543817..289aa6e62 100644 --- a/.github/workflows/pr_creation_workflow.yml +++ b/.github/workflows/pr_creation_workflow.yml @@ -1,5 +1,9 @@ name: PR Creation Workflow +permissions: + contents: read + pull-requests: read + on: pull_request: types: [opened, edited]