echo the count of blocked reviews
This commit is contained in:
parent
eba1323050
commit
267ba4d113
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check-merge.yml
vendored
2
.github/workflows/check-merge.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue