From 1edf4b57aff4b22ae8d5d640c0a6168662275c5d Mon Sep 17 00:00:00 2001 From: Sheng Fan Date: Thu, 2 Jan 2025 17:22:11 +0800 Subject: [PATCH] feat(workflow): add permissions for repository contents --- .github/workflows/nsis.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nsis.yaml b/.github/workflows/nsis.yaml index 7167352..9f01f37 100644 --- a/.github/workflows/nsis.yaml +++ b/.github/workflows/nsis.yaml @@ -6,6 +6,8 @@ on: pull_request: branches: - main +permissions: + contents: write jobs: build: runs-on: windows-2022