ci(blocked_prs): use compact jq output when outputting to ENV or step
ouput Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/merge_blocking_pr.yml
vendored
2
.github/workflows/merge_blocking_pr.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
' \
|
||||
--paginate \
|
||||
--slurp \
|
||||
| jq --argjson pr "${{ github.event.pull_request.number }}" '
|
||||
| jq -c --argjson pr "${{ github.event.pull_request.number }}" '
|
||||
[.[].data.repository.pullRequests.nodes[]] | .[] | select(
|
||||
.bodyText |
|
||||
scan("(?:blocked (?:by|on)|stacked on):? #(?<num>[0-9]+)") |
|
||||
|
||||
Reference in New Issue
Block a user