mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
parent
5dcd1c2709
commit
ec36388f40
1 changed files with 4 additions and 2 deletions
|
@ -58,9 +58,11 @@ def compute_lines(wrapper):
|
||||||
if raw_action == 'opened':
|
if raw_action == 'opened':
|
||||||
action = 'opened'
|
action = 'opened'
|
||||||
elif raw_action == 'reopened':
|
elif raw_action == 'reopened':
|
||||||
action = 'reopened'
|
# Reduce spam, don't notify about reopened PRs
|
||||||
|
return False
|
||||||
elif raw_action == 'synchronize':
|
elif raw_action == 'synchronize':
|
||||||
action = 'updated'
|
# Reduce spam, don't notify about PR updates
|
||||||
|
return False
|
||||||
else:
|
else:
|
||||||
action = '{}(?)'.format(raw_action)
|
action = '{}(?)'.format(raw_action)
|
||||||
if event['pull_request'].get('draft', True):
|
if event['pull_request'].get('draft', True):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue