Skip to content

Commit 5f2ee4d

Browse files
checking json validity
1 parent 2a2026c commit 5f2ee4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/regression-summary.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ jobs:
8686
exit 1
8787
fi
8888
89-
RUNS=$(echo "$RAW_RUNS" | jq -c '.workflow_runs[] | select(.created_at >= "'${SINCE}'T00:00:00Z" and .created_at <= "'${UNTIL}'T23:59:59Z")')
89+
RUNS=$(echo "$RAW_RUNS" | jq -c --arg SINCE "${SINCE}T00:00:00Z" --arg UNTIL "${UNTIL}T23:59:59Z" \
90+
'.workflow_runs[] | select(.created_at >= $SINCE and .created_at <= $UNTIL)')
9091
9192
if [ -z "$RUNS" ]; then
9293
echo "No failed runs found for workflow: Browser Tests on branch $BRANCH in this window" >&2

0 commit comments

Comments
 (0)