Skip to content
Snippets Groups Projects
Commit a9122abe authored by Dan Williams's avatar Dan Williams
Browse files

Merge request !1306 from 'dco4'

ci: ensure DCO check exits with correct error code on failure

!1306
parents c6fb16a0 ad841cc9
No related branches found
No related tags found
1 merge request!1306ci: ensure DCO check exits with correct error code on failure
Pipeline #1376753 passed
......@@ -84,6 +84,7 @@ verify-dco:
$(git log --format="%b" -1 ${c} | grep -q "^Signed-off-by: .* <.*@.*>") && rc="$?" || rc="$?"
if [[ rc -eq 1 ]]; then
echo "Commit ${c} failed DCO Signed-off-by check"
exit ${rc}
fi
done
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment