Skip to content

Commit

Permalink
Add pagination to appropriate listWorkflowRunArtifacts call
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-unlikelyai committed Nov 8, 2022
1 parent 46b4ae8 commit 0d8d56c
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 0d8d56c

Please sign in to comment.