This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new afbb207  (chores) ci: improved the comment message
afbb207 is described below

commit afbb207b2fa2f1e8cbcd03434e3520bb18464337
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Fri Apr 1 11:42:29 2022 +0200

    (chores) ci: improved the comment message
---
 .github/actions/quick-test/quick-test.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/actions/quick-test/quick-test.sh 
b/.github/actions/quick-test/quick-test.sh
index 78d7fc0..aee75f5 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -23,6 +23,7 @@ testDate=$(date '+%Y-%m-%d-%H%M%S')
 logDir=${basedir}/automated-build-log
 testHost=$(hostname)
 
+
 function notifySuccess() {
   local component=$1
   local total=$2
@@ -102,10 +103,11 @@ function main() {
     componentTest "${component}" "${total}" "${current}"
   done
 
+  # This is the comment that is displayed on the PR
   if [[ ${failures} -eq 0 ]]; then
-    echo "result=:heavy_check_mark: Finished verification: ${total} verified / 
${failures} failed" > "${logDir}/results.txt"
+    echo "result=:heavy_check_mark: Finished component verification: 
${failures} component(s) test failed out of **${total} component(s) tested**" > 
"${logDir}/results.txt"
   else
-    echo "result=:x: Finished verification: ${total} verified / ${failures} 
failed" > "${logDir}/results.txt"
+    echo "result=:x: Finished component verification: **${failures} 
component(s) test failed** out of ${total} component(s) tested" > 
"${logDir}/results.txt"
   fi
 
   exit "${failures}"

Reply via email to