diff --git a/.github/workflows/trustedPR.yml b/.github/workflows/trustedPR.yml index 4ae202ec34..c2d8604935 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);