From 4161087a174a4b895d731ff29962c856b71ebd35 Mon Sep 17 00:00:00 2001 From: GGMU <49076226+tomersein@users.noreply.github.com> Date: Thu, 19 Jun 2025 11:23:04 +0300 Subject: [PATCH] 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/CRobot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CRobot.yml b/.github/workflows/CRobot.yml index d3e098c..b128cb9 100644 --- a/.github/workflows/CRobot.yml +++ b/.github/workflows/CRobot.yml @@ -6,6 +6,10 @@ on: issue_comment: types: [created, edited] +permissions: + contents: read + pull-requests: write + jobs: review: runs-on: ubuntu-latest