From 8a0f4f66ad206c5c7604101cbdb7ca9e90df9482 Mon Sep 17 00:00:00 2001 From: Rajat Goel Date: Tue, 11 Aug 2026 15:29:37 +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/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 226ba7f..721efc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: release: types: [published] # Triggered ONLY when you publish a GitHub Release +permissions: + contents: read + jobs: publish: runs-on: ubuntu-latest