From 7a9496594224af326c786f0d103f88649c25944a Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 21 Apr 2024 01:15:15 -0400 Subject: [PATCH] Fix rerun flaky tests --- .github/workflows/scripts/rerunFlakyTests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/rerunFlakyTests.js b/.github/workflows/scripts/rerunFlakyTests.js index 17a9281085..955cc2aa09 100644 --- a/.github/workflows/scripts/rerunFlakyTests.js +++ b/.github/workflows/scripts/rerunFlakyTests.js @@ -8,7 +8,7 @@ const CONSIDERED_JOBS = [ async function getFailedJobsForRun(github, context, workflowRunId, runAttempt) { const jobs = await github.paginate( - github.actions.listJobsForWorkflowRunAttempt, + github.rest.actions.listJobsForWorkflowRunAttempt, { owner: context.repo.owner, repo: context.repo.repo,