From 0728f53f3f7389a3ab37d2a603bbfdae1d6c54ba Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Fri, 1 Mar 2024 11:30:31 -0600 Subject: [PATCH] Use correct method --- .github/workflows/check-submission.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-submission.yml b/.github/workflows/check-submission.yml index 0b2db4b..8ef9542 100644 --- a/.github/workflows/check-submission.yml +++ b/.github/workflows/check-submission.yml @@ -86,7 +86,7 @@ jobs: uses: actions/github-script@v7 with: script: | - const runInfo = await github.rest.actions.runs({ + const runInfo = await github.rest.actions.getWorkflowRun({ run_id: context.run_id, owner: context.repo.owner, repo: context.repo.repo,