diff --git a/.github/workflows/benchmark-pull-request.yml b/.github/workflows/benchmark-pull-request.yml index c494df6e27ce3..b975e8b08b15d 100644 --- a/.github/workflows/benchmark-pull-request.yml +++ b/.github/workflows/benchmark-pull-request.yml @@ -121,7 +121,14 @@ jobs: affiliation: 'all', per_page: 100 }); - return maintainersResponse.data.map(item => item.login).join(', '); + // Any maintainers that do not want to be included on these requests + const excludedMaintainers = [ + 'peternied', + ]; + return maintainersResponse.data + .map(item => item.login) + .filter(approvers => !excludedMaintainers.includes(approvers)) + .join(', '); - uses: trstringer/manual-approval@v1 if: (!contains(steps.get_approvers.outputs.result, github.event.comment.user.login)) with: