pytorch/.github/merge_rules.json
Jane Xu c67a4d8a65 [GH1] replace globs with patterns that mergebot can process (#81414)
https://github.com/pytorch/pytorch/pull/81330#issuecomment-1182345751 shouldn't have happened and should have matched the linalg rule.

The reason it happened is cuz we don't treat the patterns like globs.

We may follow this up with a BE change to make the patterns be treated more like globs, which I expected originally.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81414
Approved by: https://github.com/malfet
2022-07-19 16:11:32 +00:00

231 lines
6.5 KiB
JSON

[
{
"name": "ONNX exporter",
"patterns": [
".jenkins/caffe2/*",
"aten/src/ATen/core/interned_strings.h",
"docs/source/onnx.rst",
"docs/source/scripts/onnx/**",
"scripts/onnx/**",
"test/jit/test_export_modes.py",
"test/onnx/**",
"tools/onnx/**",
"torch/_C/__init__.pyi.in",
"torch/csrc/jit/passes/onnx.*",
"torch/csrc/jit/passes/onnx/**",
"torch/csrc/jit/serialization/export.*",
"torch/csrc/jit/serialization/onnx.*",
"torch/csrc/onnx/**",
"torch/onnx/**"
],
"approved_by": ["BowenBao", "garymm"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "NVFuser",
"patterns": [
"test/test_jit_cuda_fuser.py",
"torch/csrc/jit/codegen/fuser/cuda/**",
"torch/csrc/jit/codegen/cuda/**",
"benchmarks/cpp/nvfuser/**"
],
"approved_by": ["csarofeen", "ngimel", "jjsjann123"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "OSS CI",
"patterns": [".github/**", ".circleci/**", ".jenkins/**", "scripts/**", "tools/**"],
"approved_by": ["ezyang", "pytorch/pytorch-dev-infra"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "CI Pinned Hashes",
"patterns": [
".github/ci_commit_pins/vision.txt",
".github/ci_commit_pins/torchdynamo.txt",
".github/ci_commit_pins/functorch.txt"
],
"approved_by": ["pytorchbot", "ezyang", "pytorch/pytorch-dev-infra"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "XLA hash pin update",
"patterns": [".github/ci_commit_pins/xla.txt"],
"approved_by": ["pytorchbot", "ezyang", "pytorch/pytorch-dev-infra"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull / linux-bionic-py3_7-clang8-xla / build",
"pull / linux-bionic-py3_7-clang8-xla / test (xla, 1, 1, linux.2xlarge)"
]
},
{
"name": "Documentation",
"patterns": ["docs/**", "torch/*docs.py"],
"approved_by": ["mruberry", "ngimel", "janeyx99"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "Mobile",
"patterns": ["ios/**", "android/**", "test/mobile/**"],
"approved_by": ["linbinyu", "kit1980", "IvanKobzarev", "dreiss"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "Linear Algebra",
"patterns": [
"aten/src/ATen/native/cuda/linalg/**",
"aten/src/ATen/LinalgBackend.h",
"aten/src/ATen/native/**LinearAlgebra*",
"docs/source/linalg.rst",
"torch/linalg/**",
"torch/_linalg_utils.py",
"torch/**python_linalg_functions.*",
"torch/**linalg.h",
"tools/autograd/templates/python_linalg_functions.cpp",
"test/test_linalg.py"
],
"approved_by": ["nikitaved", "mruberry", "pearu", "Lezcano", "IvanYashchuk"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "FFT",
"patterns": [
"aten/src/ATen/native/cuda/*FFT*.h",
"aten/src/ATen/native/SpectralOps.cpp",
"aten/src/ATen/native/mkl/SpectralOps.cpp",
"aten/src/ATen/native/cuda/SpectralOps.*",
"docs/source/fft.rst",
"torch/fft/**",
"torch/csrc/api/include/torch/fft.h",
"torch/**python_fft_functions.*",
"tools/autograd/templates/python_fft_functions.cpp",
"test/cpp/api/fft.cpp"
],
"approved_by": ["mruberry", "peterbell10"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "Sparse",
"patterns": [
"benchmarks/sparse",
"c10/util/sparse_bitset.h",
"docs/source/sparse.rst",
"torch/**sparse/**",
"torch/**sparse*",
"torch/optim/sparse*",
"torch/ao/nn/sparse/**",
"torch/utils/benchmark/**sparse*",
"aten/src/ATen/native/ao_sparse/**",
"aten/src/ATen/native/sparse/**",
"aten/src/ATen/**Sparse*",
"aten/src/ATen/*Sparse*",
"torch/_masked/**",
"test/*_masked*",
"test/**sparse*"
],
"approved_by": ["nikitaved", "cpuhrsch", "pearu", "IvanYashchuk"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "MPS",
"patterns": [
"test/test_mps.py",
"aten/src/ATen/native/native_functions.yaml",
"aten/src/ATen/mps/**",
"aten/src/ATen/native/mps/**"
],
"approved_by": ["kulinseth", "razarmehr"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "Distributions",
"patterns": [
"torch/distributions/**",
"test/distributions/**"
],
"approved_by": ["fritzo", "neerajprad", "alicanb", "vishwakftw"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "Distributed",
"patterns": [
"docs/source/pipeline.rst",
"docs/source/distributed*",
"docs/source/rpc.rst",
"docs/source/rpc/**",
"docs/source/_static/img/rpc*",
"docs/source/_static/img/*distributed*",
"docs/source/elastic/**",
"benchmarks/distributed/**",
"torch/distributed/**",
"torch/nn/parallel/distributed*",
"torch/_C/_distributed*",
"torch/csrc/distributed/**",
"torch/testing/_internal/distributed/**",
"test/distributed/**",
"test/cpp/dist_autograd/**",
"test/cpp/rpc/**"
],
"approved_by": ["mrshenli", "pritamdamania87", "d4l3k", "kiukchung", "pietern"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
},
{
"name": "superuser",
"patterns": ["*"],
"approved_by": ["pytorch/metamates"],
"mandatory_checks_name": [
"Facebook CLA Check",
"Lint",
"pull"
]
}
]