This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 90596a498b0a67dd324a1804928a95aa09a939cd Author: Otavio Rodolfo Piske <[email protected]> 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 8a4f7dbe195..aa360a6f40e 100644 --- a/.github/workflows/main-checkstyle-build.yml +++ b/.github/workflows/main-checkstyle-build.yml @@ -51,13 +51,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 b8c5f9dc89f..38c1109efcb 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:
