[all-commits] [llvm/llvm-project] 80b2aa: [Github] Make PR formatting job only run with C/C+...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Oct 18 22:53:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80b2aac2c671771d74bc5d7426f7bd4ffa0b8a8e
      https://github.com/llvm/llvm-project/commit/80b2aac2c671771d74bc5d7426f7bd4ffa0b8a8e
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

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

  Log Message:
  -----------
  [Github] Make PR formatting job only run with C/C++ changes (#69556)

Currently the PR formatting job only runs clang-format. There isn't a
lot of utility in running it if there aren't any C/C++ changes as there
will be nothing to format. This isn't super noisy currently as the job
doesn't fail if there aren't any C/C++ changes, but it's a bit of a
waste.

In addition, this patch names the code formatting job "Check C++
Formatting" to make it clear that this job only checks C/C++ formatting
rather than Python formatting/other languages.




More information about the All-commits mailing list