diff --git a/.github/workflows/staging-deploy-pr.yml b/.github/workflows/staging-deploy-pr.yml index 52c382a67578..650f329a22ee 100644 --- a/.github/workflows/staging-deploy-pr.yml +++ b/.github/workflows/staging-deploy-pr.yml @@ -71,7 +71,7 @@ jobs: // the API for more info based on the originating workflow run const { BUILD_ACTIONS_RUN_ID } = process.env const { owner, repo } = context.repo - const { data: run } = await github.actions.getWorkflowRun({ + const { data: run } = await github.rest.actions.getWorkflowRun({ owner, repo, run_id: BUILD_ACTIONS_RUN_ID,