[llvm] [Workflow] Expand code-format-helper.py error reporting (PR #69686)
Ryan Prichard via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 20:56:14 PDT 2023
rprichard wrote:
It appears that darker/black process their file list using the currently-checked out files, not by querying git for the contents of the two git revisions. A newly-added file isn't checked out, because the current GitHub workflow checks something else out instead (the target branch of the PR maybe?)
https://github.com/rprichard/llvm-project/actions/runs/6622055992/job/17986970016?pr=10
I think the fix is to specify a different commit to checkout in pr-code-format.yml.
https://github.com/llvm/llvm-project/pull/69686
More information about the llvm-commits
mailing list