Skip to content

Commit 6fc85b5

Browse files
Fix: Exclude Warnings from Fail
1 parent e680e5e commit 6fc85b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/producer-oam-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
exit_code=${PIPESTATUS[0]}
124124
if [ $exit_code -ne 0 ]; then
125125
# Collect all outputs starting with "-->"
126-
error_lines=$(grep -E '^\s*(-->|Unhandled exception\.)' producer.log | grep -Ev -- '--> Skipping creation of src/[^ \.]+\.knxprod due to check errors! <--' | tr '\n' ' // ')
126+
error_lines=$(grep -Ev '^\s*-->\s*WARN' producer.log | grep -E '^\s*(-->|Unhandled exception\.)' | grep -Ev -- '--> Skipping creation of src/[^ \.]+\.knxprod due to check errors! <--' | tr '\n' ' // ')
127127
if [ -n "$error_lines" ]; then
128128
echo "::error:: $error_lines"
129129
fi

0 commit comments

Comments
 (0)