mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
parent
5dcd1c2709
commit
ec36388f40
Notes:
sideshowbarker
2024-07-19 01:16:05 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/ec36388f401 Pull-request: https://github.com/SerenityOS/serenity/pull/4169
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…
Reference in a new issue