From b78f20ad841eb24bdd515e9a5c55030eeef762ec Mon Sep 17 00:00:00 2001 From: Gaoyang Date: Thu, 15 Oct 2026 09:47:46 +0800 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/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0446ae..f3b2842 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,8 @@ on: jobs: build: + permissions: + contents: read runs-on: windows-latest steps: - uses: actions/checkout@v7