File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2424LABEL_ERR_MSG = f"""# { LABEL_ERR_MSG_TITLE }
2525If your changes are user facing and intended to be a part of release notes, please use a label starting with `release notes:`.
2626
27- If not, please add the `topic: not user facing ` label.
27+ If not, please add the `release notes: N/A (exclude) ` label.
2828
2929To add a label, you can comment to pytorchbot, for example
30- `@pytorchbot label "topic: not user facing "`
30+ `@pytorchbot label "release notes: N/A (exclude) "`
3131
3232For more information, see
3333https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.
@@ -115,7 +115,7 @@ def has_required_labels(pr: "GitHubPR") -> bool:
115115 pr_labels = pr .get_labels ()
116116 # Check if PR is not user facing
117117 is_not_user_facing_pr = any (
118- label .strip () == "topic: not user facing " for label in pr_labels
118+ label .strip () == "release notes: N/A (exclude) " for label in pr_labels
119119 )
120120 return is_not_user_facing_pr or any (
121121 label .strip () in get_release_notes_labels (pr .org , pr .project )
You can’t perform that action at this time.
0 commit comments