diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index f97cf4837b6ce..6bb9f22285ac1 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -87,7 +87,7 @@ jobs: id: ktlint-file-args run: | set -x - KTLINT_FILES=`echo "${{ steps.changed-files.outputs.files }}" | sed 's|[^ ]* *|--file=${{ github.workspace }}/&|g' | grep -v "*.txt"` + KTLINT_FILES=`echo "${{ steps.changed-files.outputs.files }}" | sed 's|[^ ]* *|--file=../&|g' | grep -v "*.txt"` echo "::set-output name=ktlint-file-args::$KTLINT_FILES" - name: "Parse changed-files as affected files args"