diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index c1ec72ace..b8c4331d7 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -94,8 +94,11 @@ jobs: mode: inline - name: Verify Changed Files - uses: tj-actions/verify-changed-files@v20 id: verify-changed-files + run: | + set -o pipefail + changed_files=$(echo -n "$(git diff --name-only HEAD && git ls-files --others --exclude-standard)"|tr '\n' ' ') + echo "changed_files=$changed_files" >> $GITHUB_OUTPUT - name: Fail on Changed Files if: steps.verify-changed-files.outputs.changed_files != ''