diff --git a/.github/workflows/review_pr.yaml b/.github/workflows/review_pr.yaml index 880cb49..1f9f098 100644 --- a/.github/workflows/review_pr.yaml +++ b/.github/workflows/review_pr.yaml @@ -26,7 +26,7 @@ jobs: const reviews = await github.rest.pulls.listReviews({ owner, repo, - pr.number + prNumber }); const approvedReview = reviews.data.find(review => review.state === "APPROVED"); if (approvedReview) {