This is an automated email from the ASF dual-hosted git repository. janbednar pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 4c1e3cd CAMEL-15552: Print dirty files in workflow step (#4251) 4c1e3cd is described below commit 4c1e3cdf4ccd64a66cc0ff8a86fbd6e7f6e82670 Author: Jan Bednar <m...@janbednar.eu> AuthorDate: Fri Sep 18 19:39:22 2020 +0200 CAMEL-15552: Print dirty files in workflow step (#4251) --- .github/workflows/master-pr-build.yml | 7 +++++-- .github/workflows/master-push-build.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml index e256b66..e498d16 100644 --- a/.github/workflows/master-pr-build.yml +++ b/.github/workflows/master-pr-build.yml @@ -43,7 +43,10 @@ jobs: run: ./mvnw -V --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify - name: Check if there are uncommited changes id: changes - uses: UnicornGlobal/has-changes-action@v1.0.11 + uses: bedlaj/has-changes-action@camel - name: Fail if git tree is dirty if: steps.changes.outputs.changed == 1 - run: echo "Maven build will override some files, which are not commited as part of this PR. Please run maven build and commit generated sources." && exit 1 + run: | + echo "Maven build will override some files, which are not commited as part of this PR. Please run maven build and commit generated sources." + echo "${{ steps.changes.outputs.changes }}" + exit 1 \ No newline at end of file diff --git a/.github/workflows/master-push-build.yml b/.github/workflows/master-push-build.yml index 79671b7..2340262 100644 --- a/.github/workflows/master-push-build.yml +++ b/.github/workflows/master-push-build.yml @@ -43,7 +43,10 @@ jobs: run: ./mvnw -V --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify - name: Check if there are uncommited changes id: changes - uses: UnicornGlobal/has-changes-action@v1.0.11 + uses: bedlaj/has-changes-action@camel - name: Fail if git tree is dirty if: steps.changes.outputs.changed == 1 - run: echo "Maven build will override some files, which are not commited yet. Please run maven build and commit generated sources." && exit 1 + run: | + echo "Maven build will override some files, which are not commited as part of this PR. Please run maven build and commit generated sources." + echo "${{ steps.changes.outputs.changes }}" + exit 1 \ No newline at end of file