Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/390664 )

Change subject: Only auto +2 in mediawiki/ repos
......................................................................

Only auto +2 in mediawiki/ repos

Change-Id: Id0c529742c190274c582698e2016224c88089114
---
M container/thing.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/libraryupgrader 
refs/changes/64/390664/1

diff --git a/container/thing.py b/container/thing.py
index 66509d5..2aab825 100755
--- a/container/thing.py
+++ b/container/thing.py
@@ -235,7 +235,7 @@
     subprocess.call(['git', 'diff'])
     changed = subprocess.check_output(['git', 'status', 
'--porcelain']).decode().splitlines()
     changed_files = {x.strip().split(' ', 1)[1].strip() for x in changed}
-    auto_approve = changed_files.issubset(AUTO_APPROVE_FILES)
+    auto_approve = changed_files.issubset(AUTO_APPROVE_FILES) and 
env['repo'].startswith('mediawiki/')
     commit_and_push(
         files=['.'],
         msg=msg,

-- 
To view, visit https://gerrit.wikimedia.org/r/390664
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0c529742c190274c582698e2016224c88089114
Gerrit-PatchSet: 1
Gerrit-Project: labs/libraryupgrader
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to