From f10f856f2ad9731a364b4ba31881df9b3c01b2ef Mon Sep 17 00:00:00 2001 From: Shubham Bansal Date: Wed, 23 Sep 2026 14:15:51 +0530 Subject: [PATCH] fix: EOL/Outdated JS Scanner Workflow --- .github/workflows/eol-outdated-js-scan.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eol-outdated-js-scan.yml b/.github/workflows/eol-outdated-js-scan.yml index 82d552c..166e795 100644 --- a/.github/workflows/eol-outdated-js-scan.yml +++ b/.github/workflows/eol-outdated-js-scan.yml @@ -23,7 +23,7 @@ on: default: 'npm' secrets: github-token: - description: 'GitHub token for creating/updating comments' + description: 'GitHub token for package installation and creating/updating comments' required: true nvd-api-key: description: 'NVD API key for the dependency check' @@ -95,6 +95,7 @@ jobs: if: inputs.package_manager == 'npm' && steps.node-cache.outputs.cache-hit != 'true' env: NPM_RUN_CMD: ${{ inputs.npm-run-cmd }} + NODE_AUTH_TOKEN: ${{ secrets.github-token }} shell: bash run: | bash -lc "$NPM_RUN_CMD" @@ -103,6 +104,7 @@ jobs: if: inputs.package_manager == 'pnpm' && steps.pnpm-cache.outputs.cache-hit != 'true' env: NPM_RUN_CMD: ${{ inputs.npm-run-cmd }} + NODE_AUTH_TOKEN: ${{ secrets.github-token }} shell: bash run: | bash -lc "$NPM_RUN_CMD"