From 6388387cbed4bc16e2842f9a827d33e3e665ada8 Mon Sep 17 00:00:00 2001 From: Konstantin Dinev Date: Fri, 17 Oct 2025 15:18:21 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 2: 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 aad44ef3..8b830171 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,5 +1,8 @@ name: Npm.js deploy +permissions: + contents: read + on: release: types: [created]