You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/10/13 09:06:51 UTC

[camel] branch main updated: (chores) ci: fixes support for generating checkstyle summaries

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 9cbf1736c2b (chores) ci: fixes support for generating checkstyle summaries
9cbf1736c2b is described below

commit 9cbf1736c2bd01b1c025ac5b1c24baec2ce8816b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 11:06:39 2022 +0200

    (chores) ci: fixes support for generating checkstyle summaries
---
 .github/workflows/main-checkstyle-build.yml | 10 ----------
 .github/workflows/pr-build.yml              | 10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/main-checkstyle-build.yml b/.github/workflows/main-checkstyle-build.yml
index 2fae1384e10..47ea9b4803e 100644
--- a/.github/workflows/main-checkstyle-build.yml
+++ b/.github/workflows/main-checkstyle-build.yml
@@ -54,13 +54,3 @@ jobs:
         with:
           name: checkstyle.log
           path: checkstyle.log
-      - name: Generate failure checkstyle summary
-        if: failure()
-        run: |
-          echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY
-          echo "" >> $GITHUB_STEP_SUMMARY
-      - name: Generate successful checkstyle summary
-        if: failure()
-        run: |
-          echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY
-          echo "" >> $GITHUB_STEP_SUMMARY
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
index d595a0e3b72..01fb2cf7537 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build.yml
@@ -54,6 +54,16 @@ jobs:
       with:
         name: checkstyle.log
         path: checkstyle.log
+    - name: Generate failure checkstyle summary
+      if: failure()
+      run: |
+        echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY
+        echo "" >> $GITHUB_STEP_SUMMARY
+    - name: Generate successful checkstyle summary
+      if: failure()
+      run: |
+        echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY
+        echo "" >> $GITHUB_STEP_SUMMARY
   build:
     if: github.repository == 'apache/camel'
     permissions: