From 27322852ba548ec9875bd2b7ad526bc3c5f36fac Mon Sep 17 00:00:00 2001 From: Dhruva Shaw Date: Mon, 16 Jun 2025 00:11:22 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 22: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Dhruva Shaw --- .github/workflows/prettier.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 60446c8d..cb3ee8a2 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -10,6 +10,10 @@ on: - master - main +permissions: + contents: read + actions: write + jobs: check: # available images: https://github.com/actions/runner-images#available-images