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:
commit
4a8b3f5b43
1 changed files with 4 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue