Skip to content

Commit

Permalink
Switch from 'listWorkflowRuns' to 'listWorkflowRunsForRepo' end-point
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnopek committed Apr 29, 2023
1 parent 246dbf4 commit 91dda23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function main() {

if (!runID) {
// Note that the runs are returned in most recent first order.
for await (const runs of client.paginate.iterator(client.rest.actions.listWorkflowRuns, {
for await (const runs of client.paginate.iterator(client.rest.actions.listWorkflowRunsForRepo, {
owner: owner,
repo: repo,
workflow_id: workflow,
Expand Down

0 comments on commit 91dda23

Please sign in to comment.