diff --git a/resolve-jobs.nix b/resolve-jobs.nix index 2670e984..2a43db1c 100644 --- a/resolve-jobs.nix +++ b/resolve-jobs.nix @@ -207,14 +207,15 @@ let - prs = builtins.fromJSON (builtins.readFile ); + #prs = builtins.fromJSON (builtins.readFile ); + prs = builtins.fromJSON (builtins.readFile ./github-pulls.json); srcs = mapAttrs' (n: value: { name = "pr${n}"; value = builtins.fetchGit { - url = "https://github.com/${value.base.repo.owner.login}/${value.base.repo.name}"; - ref = "pull/${n}/head"; + url = "https://github.com/${value.head.repo.owner.login}/${value.head.repo.name}.git"; + ref = "${value.head.ref}"; }; }) prs;