aboutsummaryrefslogtreecommitdiffhomepage
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 2449c94d96..277a956e42 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -470,8 +470,11 @@ def PostUploadHook(cl, change, output_api):
new_description_lines = list(original_description_lines)
# If the change includes only doc changes then add No-Try: true in the
- # CL's description if it does not exist yet.
- if all_docs_changes and not _FooterExists(footers, 'No-Try', 'true'):
+ # CL's description if it does not exist yet. Do this for all users except
+ # update-docs@skia.org (see skbug.com/7310).
+ if (cl.GetIssueOwner() != "update-docs@skia.org" and
+ all_docs_changes and
+ not _FooterExists(footers, 'No-Try', 'true')):
new_description_lines.append('No-Try: true')
results.append(
output_api.PresubmitNotifyResult(