We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86945db + c71a744 commit 68db8f6Copy full SHA for 68db8f6
homu/server.py
@@ -574,14 +574,15 @@ def fail(err):
574
state.save()
575
576
elif event_type == 'issue_comment':
577
+ action = info['action']
578
body = info['comment']['body']
579
username = info['comment']['user']['login']
580
user_id = info['comment']['user']['id']
581
pull_num = info['issue']['number']
582
583
state = g.states[repo_label].get(pull_num)
584
- if 'pull_request' in info['issue'] and state:
585
+ if action == 'created' and 'pull_request' in info['issue'] and state:
586
state.title = info['issue']['title']
587
state.body = info['issue']['body']
588
0 commit comments