diff --git a/.github/workflows/trustedPR.yml b/.github/workflows/trustedPR.yml index 4ae202ec34c8cd..c2d86049355e8a 100644 --- a/.github/workflows/trustedPR.yml +++ b/.github/workflows/trustedPR.yml @@ -55,4 +55,4 @@ jobs: if (body !== "") { req.body = body; } - await github.pulls.createReview(req); + await github.rest.pulls.createReview(req);