1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-23 21:44:44 +02:00

Add option to limit the resultset returned by paginate helper (#4475)

This commit is contained in:
Robert Kaussow
2024-11-29 10:39:01 +01:00
committed by GitHub
parent a949949ca0
commit 359e3af817
7 changed files with 96 additions and 33 deletions

View File

@@ -660,7 +660,7 @@ func (c *client) loadChangedFilesFromPullRequest(ctx context.Context, pull *gith
opts.Page = resp.NextPage
}
return utils.DeduplicateStrings(fileList), nil
})
}, -1)
return pipeline, err
}