Skip to content

Commit

Permalink
Merge pull request #205 from robbie-unlikelyai/handle-search-artifact…
Browse files Browse the repository at this point in the history
…s-with-many-artifacts

Add pagination to appropriate listWorkflowRunArtifacts call
  • Loading branch information
dawidd6 committed Nov 9, 2022
2 parents 46b4ae8 + 0d8d56c commit b12b127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -122,7 +122,7 @@ async function main() {
continue
}
if (checkArtifacts || searchArtifacts) {
let artifacts = await client.rest.actions.listWorkflowRunArtifacts({
let artifacts = await client.paginate(client.rest.actions.listWorkflowRunArtifacts, {
owner: owner,
repo: repo,
run_id: run.id,
Expand Down

0 comments on commit b12b127

Please sign in to comment.