1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-21 19:42:38 +01:00

new_wikis_handler: Automatically tag post-creation task with platform-engineering

Discussed at
https://wikimedia.slack.com/archives/C01R06P8D1B/p1649147661951379.
This commit is contained in:
Martin Urbanec 2022-04-05 11:59:54 +02:00
parent 439c7716cc
commit 3e9e77e4f0

View file

@ -87,7 +87,10 @@ class PostCreationHandler(object):
def _create_ticket(self):
result = client.createParentTask(
self.post_ticket_text,
['PHID-PROJ-2fuv7mxzjnpjfuojdnfd'],
[
'PHID-PROJ-2fuv7mxzjnpjfuojdnfd', # wiki-setup
'PHID-PROJ-2b7oz62ylk3jk4aus262', # platform-engineering
],
self.main_pid,
'Post-creation work for {}'.format(self.db_name))['object']
self.post_ticket_phid = result['phid']