File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
packages/provider-github/src/lib Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @rnef/provider-github ' : patch
3+ ---
4+
5+ Fix infinite loop in remote-cache list-all command when GH returns more than one page of results
Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ export async function fetchGitHubArtifactsByName(
4141 const result : GitHubArtifact [ ] = [ ] ;
4242 const owner = repoDetails . owner ;
4343 const repo = repoDetails . repository ;
44- const url = `https://api.github.com/repos/${ owner } /${ repo } /actions/artifacts?per_page=${
45- limit ?? PAGE_SIZE
46- } &page=${ page } ${ name ? `&name=${ name } ` : '' } `;
4744
4845 try {
4946 while ( true ) {
47+ const url = `https://api.github.com/repos/${ owner } /${ repo } /actions/artifacts?per_page=${
48+ limit ?? PAGE_SIZE
49+ } &page=${ page } ${ name ? `&name=${ name } ` : '' } `;
5050 let data : GitHubArtifactResponse ;
5151 try {
5252 const response = await fetch ( url , {
You can’t perform that action at this time.
0 commit comments