From aee2822a7e9adaabfdd1be476ba02be869a78afc Mon Sep 17 00:00:00 2001 From: Leo Felcianas <71537398+DFanso@users.noreply.github.com> Date: Fri, 3 Oct 2025 12:36:41 +0530 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/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 e60aa7b..1ff7e86 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -90,6 +90,8 @@ jobs: package: name: Package Binaries + permissions: + contents: read needs: [auto-tag, build] runs-on: ubuntu-latest # Always run after build