From 2e1adaccd03d1734556d648d625449501e88bb69 Mon Sep 17 00:00:00 2001 From: Leo Felcianas <71537398+DFanso@users.noreply.github.com> Date: Fri, 3 Oct 2025 12:39:16 +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/build-and-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 1ff7e86..36e8651 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -43,6 +43,8 @@ jobs: build: name: Build Go Binary + permissions: + contents: read runs-on: ${{ matrix.os }} needs: auto-tag # Always run build, even if auto-tag was skipped (e.g., for tag pushes)