diff --git a/.github/bin/label_abandoned_prs.py b/.github/bin/label_abandoned_prs.py index 4d861ca0b6c..98648f17c22 100644 --- a/.github/bin/label_abandoned_prs.py +++ b/.github/bin/label_abandoned_prs.py @@ -37,6 +37,7 @@ if labels['name'] == 'Abandoned PR - Needs New Owner': already_abandoned = True + approved = False for review in json_data['reviews']: if review["state"] == "APPROVED": approved = True