On occasion (probably if the github API returns an error, thaw aborts the run with the following error:
ERROR Thaw An unexpected error occurred.
7 | `https://api.github.com/repos/${owner}/${repo}/tags`,
8 | );
9 |
10 | const tags = await response.json();
11 |
12 | return tags.map((tag) => tag.name);
^
TypeError: (await (await fetch(`https://api.github.com/repos/${owner}/${repo}/tags`)).json()).map is not a function. (In '(await (await fetch(`https://api.github.com/repos/${owner}/${repo}/tags`)).json()).map((tag) => tag.name)', '(await (await fetch(`https://api.github.com/repos/${owner}/${repo}/tags`)).json()).map' is undefined)
at <anonymous> (/nix/store/d7zrr1q48qk17j8q3d0svigclidmncri-src/util/forges/github.ts:12:15)
It does succeed at times, but since my flake has a lot of inputs, I wonder if this is running into API rate limits.
On occasion (probably if the github API returns an error, thaw aborts the run with the following error:
It does succeed at times, but since my flake has a lot of inputs, I wonder if this is running into API rate limits.