diff --git a/ci/github-script/README.md b/ci/github-script/README.md index 8ffff0c40922..caf52eb5bba3 100644 --- a/ci/github-script/README.md +++ b/ci/github-script/README.md @@ -5,8 +5,8 @@ It provides a `nix-shell` environment to run and test these actions locally. To run any of the scripts locally: -- Provide `gh` on `PATH` and make sure it's authenticated. - Enter `nix-shell` in `./ci/github-script`. +- Ensure `gh` is authenticated. ## Labeler diff --git a/ci/github-script/shell.nix b/ci/github-script/shell.nix index dd84ba3ad73d..82f03de4b1a0 100644 --- a/ci/github-script/shell.nix +++ b/ci/github-script/shell.nix @@ -5,12 +5,14 @@ pkgs.callPackage ( { - mkShell, + gh, importNpmLock, + mkShell, nodejs, }: mkShell { packages = [ + gh importNpmLock.hooks.linkNodeModulesHook nodejs ];