1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-22 03:52:37 +01:00

Merge pull request #47 from urbanecm/autotag

new_wikis_handler: Automatically tag post-creation task with platform…
This commit is contained in:
Martin Urbanec 2022-10-12 18:31:21 +02:00 committed by GitHub
commit 4a8b3f5b43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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