[all-commits] [llvm/llvm-project] 6af7bf: [GitHub] Fix `mlir:core` label definition (#66556)

Markus Böck via All-commits all-commits at lists.llvm.org
Fri Sep 15 15:42:04 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6af7bf6953789224fd9e0b786cd38ac16d300e45
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2023-09-16 (Sat, 16 Sep 2023)

  Changed paths:
    M .github/new-prs-labeler.yml

  Log Message:
  [GitHub] Fix `mlir:core` label definition (#66556)

The current regex for the `mlir:core` PR label is too accepting. It uses
`**` as a prefix for all paths, which allows any kind of directory
prefix to be inserted when matching. Combined with very common directory
suffixes such as `IR` and `Transforms`, it leads to many false positives
of being applied to PRs that do not touch MLIR core such as

This PR therefore changes the `mlir:core` labels to only include the
specified top-level directories if directly nested under either `lib`
for source files, or `include` for header files

More information about the All-commits mailing list