From e15686b40d8b961da4e521b26afca5d23daed710 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Fri, 12 Sep 2025 15:36:50 +0000 Subject: [PATCH] Remove actionable label from docathon label sync script (#155713) Make sure we don't propagate actionable label in docathon sync label script. Pull Request resolved: https://github.com/pytorch/pytorch/pull/155713 Approved by: https://github.com/clee2000 --- .github/scripts/docathon-label-sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/docathon-label-sync.py b/.github/scripts/docathon-label-sync.py index ccd2eb0f4bd0..04f4707a55c3 100644 --- a/.github/scripts/docathon-label-sync.py +++ b/.github/scripts/docathon-label-sync.py @@ -39,7 +39,9 @@ def main() -> None: pull_request_label_names = [label.name for label in pull_request_labels] issue_label_names = [label.name for label in issue_labels] labels_to_add = [ - label for label in issue_label_names if label not in pull_request_label_names + label + for label in issue_label_names + if label not in pull_request_label_names and label != "actionable" ] if not labels_to_add: print("The pull request already has the same labels.")