From 4d777b335f81a4e0981a075ad3344e707ee39126 Mon Sep 17 00:00:00 2001 From: Carbo Kuo Date: Thu, 26 Mar 2026 19:43:27 -0700 Subject: [PATCH] Potential fix for code scanning alert no. 14: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/release-pypi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index 451ad3585..38d10c18e 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -5,6 +5,8 @@ on: jobs: release-pypi: + permissions: + contents: read strategy: matrix: os: [ubuntu-latest, macos-latest, macos-14, windows-latest]