ci/github-script: add gh dependency to dev shell
This commit is contained in:
parent
d71b8c3680
commit
cdd1931ace
@ -5,8 +5,8 @@ It provides a `nix-shell` environment to run and test these actions locally.
|
|||||||
|
|
||||||
To run any of the scripts 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`.
|
- Enter `nix-shell` in `./ci/github-script`.
|
||||||
|
- Ensure `gh` is authenticated.
|
||||||
|
|
||||||
## Labeler
|
## Labeler
|
||||||
|
|
||||||
|
|||||||
@ -5,12 +5,14 @@
|
|||||||
|
|
||||||
pkgs.callPackage (
|
pkgs.callPackage (
|
||||||
{
|
{
|
||||||
mkShell,
|
gh,
|
||||||
importNpmLock,
|
importNpmLock,
|
||||||
|
mkShell,
|
||||||
nodejs,
|
nodejs,
|
||||||
}:
|
}:
|
||||||
mkShell {
|
mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
|
gh
|
||||||
importNpmLock.hooks.linkNodeModulesHook
|
importNpmLock.hooks.linkNodeModulesHook
|
||||||
nodejs
|
nodejs
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user