We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca540ee + b8b6870 commit cf03b82Copy full SHA for cf03b82
.github/workflows/create-replacement-pr.yml
@@ -90,7 +90,8 @@ jobs:
90
"repos/$GITHUB_REPOSITORY/pulls/$PR/reviews"
91
)"
92
93
- reviewers="$(jq --compact-output '[.[].user.login]' <<< "$review_data")"
+ reviewer_filter='[map(select(.author_association == "MEMBER")).[].user.login] | unique'
94
+ reviewers="$(jq --compact-output "$reviewer_filter" <<< "$review_data")"
95
approved="$(jq --raw-output 'any(.[].state; .== "APPROVED")' <<< "$review_data")"
96
97
# See https://github.com/octokit/octokit.net/issues/1763 for possible `mergeable_state` values.
0 commit comments