[all-commits] [llvm/llvm-project] 2898c3: [Github] Simplify Getting Changed Files in Code Fo...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Mar 28 21:45:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2898c3e0bbf904c68efb194525bcdfeedb3014c2
      https://github.com/llvm/llvm-project/commit/2898c3e0bbf904c68efb194525bcdfeedb3014c2
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

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

  Log Message:
  -----------
  [Github] Simplify Getting Changed Files in Code Formatting Workflow (#133023)

This patch changes getting changed files in the pr code format job to
just checking out the previous two commits (the merge commit and its
porent, the current commit latest in main), which allows us to just diff
the merge commit. This means we do not have to checkout the ref through
the merge base, which should save approximately a minute per job (or
much more in some cases where the PR is particularly out of date).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list