From 75e4e6efd494867f54aebf6cc6f86ea46737f72d Mon Sep 17 00:00:00 2001 From: Sourav <205398826+morningstarxcdcode@users.noreply.github.com> Date: Thu, 26 Jun 2025 21:43:27 +0530 Subject: [PATCH] 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/greetings.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index c80204a..05d55ee 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -6,6 +6,11 @@ on: pull_request_target: types: [opened] +permissions: + contents: read + issues: write + pull-requests: write + jobs: greet: runs-on: ubuntu-latest