Skip to content

Commit

Permalink
look for log entries with an err key
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewland committed Jun 25, 2021
1 parent c91b57e commit e39df38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
if grep -i fail renovate.jsonl; then
echo "::warning ::$(grep -i fail renovate.jsonl| jq -r .msg)"
fi
if grep -i err renovate.jsonl; then
echo "::error ::$(grep -i err renovate.jsonl| jq -r .msg)"
if grep -i '"err"' renovate.jsonl; then
echo "::error ::$(grep -i '"err"' renovate.jsonl| jq -r .msg)"
exit 1
fi

0 comments on commit e39df38

Please sign in to comment.