Skip to content

Commit

Permalink
Update review_pr.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shmishra99 authored Sep 30, 2024
1 parent 1a9a8ed commit 33156d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/review_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 33156d1

Please sign in to comment.