File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 6767 git-clang-format --diff "${BASE}" "${PR_HEAD}" > format.patch
6868 cat format.patch
6969
70- if [ "$(cat format.patch)" = "no modified files to format" ] || \
71- [ "$(cat format.patch)" = "clang-format did not modify any files" ] || \
70+ format_msg=$(cat format.patch)
71+ if [ "$format_msg" = "no modified files to format" ] || \
72+ [ "$format_msg" = "clang-format did not modify any files" ] || \
7273 [ ! -s format.patch ]; then
7374 echo "No files to format."
7475 exit 0
7879 if ! git diff --quiet --exit-code; then
7980 echo "ERROR: Code is not formatted according to code style."
8081 echo "See https://github.com/openucx/ucx/wiki/Code-style-checking"
81- exit 1
8282 fi
8383
8484 - name : Authors Check
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Brad Benton <bradford.benton@gmail.com>
2121Changcheng Liu <jerrliu@nvidia.com>
2222Colin Hirsch <chirsch@nvidia.com>
2323Corey J. Nolet <cjnolet@gmail.com>
24+ Daniel Pressler <danielpr@nvidia.com>
2425David Wootton <dwootton@us.ibm.com>
2526Devendar Bureddy <devendar@mellanox.com>
2627Devesh Sharma <devesh.sharma@broadcom.com>
You can’t perform that action at this time.
0 commit comments