fix(ci): skip interactive prompt in nixpkgs update workflow
The nixpkgs update.py script prompts for confirmation before running, which fails with EOFError in CI since there is no TTY. Pass skip-prompt to maintainers/scripts/update.nix to bypass the prompt.
This commit is contained in:
parent
50d6926b56
commit
2796fffbc1
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
# Update both packages using the nixpkgs update infrastructure
|
||||
PACKAGES=""
|
||||
for pkg in vikunja vikunja-desktop; do
|
||||
nix-shell maintainers/scripts/update.nix --argstr package "$pkg"
|
||||
nix-shell maintainers/scripts/update.nix --argstr package "$pkg" --argstr skip-prompt true
|
||||
if ! git diff --quiet; then
|
||||
git add -A
|
||||
NEW=$(grep -oP 'version = "\K[^"]+' "pkgs/by-name/vi/$pkg/package.nix" | head -1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue