[all-commits] [llvm/llvm-project] 1a6646: [Github] Fetch through merge base in code formatti...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Sat Nov 11 19:48:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a66465c7290f8a5ddb250ca7fffaddc9205011d
      https://github.com/llvm/llvm-project/commit/1a66465c7290f8a5ddb250ca7fffaddc9205011d
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
    M .github/workflows/pr-code-format.yml

  Log Message:
  -----------
  [Github] Fetch through merge base in code formatting action (#72020)

This commit adds another step to the Github workflow that runs the code
formatting check to fetch through the merge base. This ensures that the
necessary history is present to find the changed files and also to run
clang-format over. This change massively increases the speed of the
action (~10 minutes down to ~2 minutes in most cases from my testing)
and also increases the reliability significantly.




More information about the All-commits mailing list