From 0a0eb9ca6576b97787d085133dc0edeebcb0735e Mon Sep 17 00:00:00 2001 From: Crossle Song Date: Fri, 19 Dec 2025 17:24:38 +0400 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/manual-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml index 5875e441e5..55e4b3a01d 100644 --- a/.github/workflows/manual-build.yml +++ b/.github/workflows/manual-build.yml @@ -274,6 +274,8 @@ jobs: build-windows: runs-on: windows-latest + permissions: + contents: write if: contains(github.event.inputs.platforms, 'windows') || github.event.inputs.platforms == '' steps: - uses: actions/checkout@v4