From 791e6171d10bd5fa72ab01846334df63b80d86c1 Mon Sep 17 00:00:00 2001 From: con-cis <54837156+con-cis@users.noreply.github.com> Date: Sat, 4 Oct 2025 17:05:29 +0200 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/node.js.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8f0dfc0..b0e3b91 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -2,6 +2,8 @@ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs name: Node.js +permissions: + contents: read on: push: