mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add label to label config to auto apply labels based on other labels (#125042)
* Implemented in https://github.com/pytorch/test-infra/pull/5127, * Tested in malfet/delete me: https://github.com/malfet/deleteme/issues/85 Pull Request resolved: https://github.com/pytorch/pytorch/pull/125042 Approved by: https://github.com/huydhn
This commit is contained in:
committed by
PyTorch MergeBot
parent
4e2b4c6ed6
commit
4a6dfbe480
13
.github/label_to_label.yml
vendored
Normal file
13
.github/label_to_label.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# Use this to auto apply labels based on other labels. Applies to both PRs and
|
||||
# issues. Currently only supports any and all
|
||||
- any:
|
||||
- "module: custom operators"
|
||||
- "module: aotdispatch"
|
||||
then:
|
||||
- "module: pt2-dispatcher"
|
||||
- any:
|
||||
- "module: dynamo"
|
||||
- "module: pt2-dispatcher"
|
||||
- "module: inductor"
|
||||
then:
|
||||
- "oncall: pt2"
|
1
.github/pytorch-probot.yml
vendored
1
.github/pytorch-probot.yml
vendored
@ -24,3 +24,4 @@ retryable_workflows:
|
||||
- linux-binary
|
||||
- windows-binary
|
||||
labeler_config: labeler.yml
|
||||
label_to_label_config: label_to_label.yml
|
||||
|
Reference in New Issue
Block a user