diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 44e0e95a4c..00dda9ea98 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -27,7 +27,8 @@ jobs: - name: git diff run: | if [[ `git status --porcelain` ]]; then - echo OK + echo "Code is not well formatted, boo !" + exit 1 else - echo KO + echo "Code is well formatted, congrats !" fi