From 71dd088515b432ffb71388ec6a3a7456005ead63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=BA?= Date: Mon, 16 Mar 2026 13:53:13 +0500 Subject: [PATCH] Potential fix for code scanning alert no. 10: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/npm-publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ce9128ce..39d17a69 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -3,6 +3,9 @@ name: Node.js Package +permissions: + contents: read + on: release: types: [created]