mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
ci/github-script: add gh dependency to dev shell
This commit is contained in:
parent
d71b8c3680
commit
cdd1931ace
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,14 @@
|
|||
|
||||
pkgs.callPackage (
|
||||
{
|
||||
mkShell,
|
||||
gh,
|
||||
importNpmLock,
|
||||
mkShell,
|
||||
nodejs,
|
||||
}:
|
||||
mkShell {
|
||||
packages = [
|
||||
gh
|
||||
importNpmLock.hooks.linkNodeModulesHook
|
||||
nodejs
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue