Closed
Description
Describe the bug
Looks like the lint CI is broken? The log in clang-format step shows fatal error, and the uploaded patch is always 0 bytes.
git config --global --add safe.directory /__w/llvm/llvm
git clang-format ${GITHUB_SHA}^1
git diff > ./clang-format.patch
shell: bash {0}
fatal: ambiguous argument '372cc94890e4e5334b7d64e29a55eee3480a9922^1': unknown revision or path not in the working tree.
Uploaded '0' bytes from '/home/runner/work/llvm/llvm/clang-format.patch' to server
All CI jobs are failing with same log.
eg: https://github.com/intel/llvm/runs/8042514327?check_suite_focus=true
Click the lint, then click the run clang-format section, you will be able to see logs similar to above.