diff --git a/.github/workflows/assign-reviews.yml b/.github/workflows/assign-reviews.yml index 47d025c1da..5064d7e5c1 100644 --- a/.github/workflows/assign-reviews.yml +++ b/.github/workflows/assign-reviews.yml @@ -69,7 +69,8 @@ jobs: # Need Reviewer Action Find all open PRs where: - 1. The PR is waiting for review (there are no open review comments or change requests) + 1. The PR is waiting for review (there are no open review comments or change requests, and no human reviewer's latest submitted review is + APPROVED; ignore approvals from automation/bot accounts for this check) 2. The PR is in a "clean" state (CI passing, no merge conflicts) 3. The PR is not marked as draft (draft: false) 4. The PR has had no activity (comments, commits, reviews) for more than 3 days. diff --git a/examples/03_github_workflows/01_basic_action/assign-reviews.yml b/examples/03_github_workflows/01_basic_action/assign-reviews.yml index 9df600e2b6..8b7d9527a4 100644 --- a/examples/03_github_workflows/01_basic_action/assign-reviews.yml +++ b/examples/03_github_workflows/01_basic_action/assign-reviews.yml @@ -71,7 +71,8 @@ jobs: # Need Reviewer Action Find all open PRs where: - 1. The PR is waiting for review (there are no open review comments or change requests) + 1. The PR is waiting for review (there are no open review comments or change requests, and no human reviewer's latest submitted review is + APPROVED; ignore approvals from automation/bot accounts for this check) 2. The PR is in a "clean" state (CI passing, no merge conflicts) 3. The PR is not marked as draft (draft: false) 4. The PR has had no activity (comments, commits, reviews) for more than 3 days.