Don't run npm install when in an Actions workflow by mbg · Pull Request #3155 · github/codeql-action (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

mbg

merged 2 commits into

Sep 25, 2025

Conversation

@mbg

Follow-up to #3154 to skip running npm install when running in a GitHub Actions workflow.

Risk assessment

For internal use only. Please select the risk level of this change:

Merge / deployment checklist

@mbg

@mbg

Copilot AI review requested due to automatic review settings

September 25, 2025 19:26

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This change modifies the check-node-modules.sh script to skip running npm install when executing in a GitHub Actions workflow environment, addressing potential issues with dependency installation in CI environments.

@mbg mbg mentioned this pull request

Sep 25, 2025

esbena

@mbg mbg deleted the mbg/node/no-install-in-actions branch

September 25, 2025 21:47

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

3 participants

@mbg @esbena