diff --git a/.github/workflows/reviewdog-markdown.yml b/.github/workflows/reviewdog-markdown.yml index f7d5c7a570b..e1749f0bc3b 100644 --- a/.github/workflows/reviewdog-markdown.yml +++ b/.github/workflows/reviewdog-markdown.yml @@ -83,24 +83,26 @@ jobs: - name: Run lint for files && Report to GitHub run: | make files/lint > ${RESULT_FILE} - reviewdog \ - -f=checkstyle \ - -name="files lint" \ - -diff="git diff ${{ github.event.pull_request.base.ref }}" \ - -reporter=github-pr-review \ - -level="${LEVEL}" < ${RESULT_FILE} + cat ${RESULT_FILE} | \ + reviewdog \ + -f=checkstyle \ + -name="files lint" \ + -diff="git diff ${{ github.event.pull_request.base.ref }}" \ + -reporter=github-pr-review \ + -level="${LEVEL}" env: LEVEL: "error" RESULT_FILE: "result-files-lint.txt" - name: Run lint for documents && Report to GitHub run: | make docs/lint > ${RESULT_FILE} - reviewdog \ - -f=checkstyle \ - -name="docs lint" \ - -diff="git diff ${{ github.event.pull_request.base.ref }}" \ - -reporter=github-pr-review \ - -level="${LEVEL}" < ${RESULT_FILE} + cat ${RESULT_FILE} | \ + reviewdog \ + -f=checkstyle \ + -name="docs lint" \ + -diff="git diff ${{ github.event.pull_request.base.ref }}" \ + -reporter=github-pr-review \ + -level="${LEVEL}" env: LEVEL: "error" RESULT_FILE: "result-docs-lint.txt"