From 4092871d9ea23a35e8c4faad36d3397b477791a6 Mon Sep 17 00:00:00 2001 From: Tore Nestenius Date: Sun, 8 Mar 2026 17:37:32 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 5: 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.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c95346..88524de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,8 @@ jobs: build: name: Build and analyze runs-on: windows-latest + permissions: + contents: read steps: - name: Set up JDK 17 uses: actions/setup-java@v5