Skip to content

Fail to report diff(unified format) result to github-pr-check #1352

Answered by hsnuhayato
hsnuhayato asked this question in Q&A
Discussion options

You must be logged in to vote

ok, finally I find the reason...
The diff(unified format) format should not includes the line:
Processing 1 files: ./cpp_src/main_atcoder.cpp
After I skip this line with tail command it works!!!:

/run-clang-format.py "$@" 2>&1 |tail -n +2 | \
reviewdog -name=clang-format-lint-action -f=diff -tee \
              -reporter=github-pr-review \
              -filter-mode=nofilter \
              -fail-on-error=true \
              -level=error \

hope this can help other people

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hsnuhayato
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant