github-action: indent style error --> warning
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 8 Feb 2024 08:17:00 +0000 (17:17 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 14 Feb 2024 05:58:30 +0000 (14:58 +0900)
Indent style error is set down to warning.
Until we have ZERO indent style error in overall,
let's keep them warning.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
.github/workflows/static.check.scripts/indent.sh

index 673051b..a2a7404 100644 (file)
@@ -55,6 +55,7 @@ for file in `cat $files`; do
           --honour-newlines \
           --tab-size8 \
           --indent-level2 \
+          --leave-preprocessor-space \
           $file
       ;;
     esac
@@ -71,9 +72,8 @@ fi
 echo "::endgroup::"
 
 if [ $failed = 1 ]; then
-    echo "::error There is an indentation style error."
+    echo "::warning There is an indentation style error."
     echo "::group::The indentation style errors are..."
     cat ${tmpfile}
     echo "::endgroup::"
-    exit 1
 fi