echo the count of blocked reviews

This commit is contained in:
Matthew Phillips 2022-09-23 09:11:21 -04:00
parent eba1323050
commit 267ba4d113

View file

@ -19,7 +19,7 @@ jobs:
- name: Check if there is already a block on this PR
id: blocked
run: |
echo '${{ contains(fromJSON(steps.set-reviews.outputs.reviews).*.user.id, 41898282) }}'
echo ${{ steps.set-reviews.outputs.reviews }} | jq '.[] | select(.user.id == 41898282 and .state == "CHANGES_REQUESTED") | length' | uniq
- uses: actions/checkout@v3
with: