Skip to content

Commit

Permalink
adding skip for GollumEvent
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Aug 20, 2020
1 parent eacc49d commit feebb28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/generate-events.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def generate_content(event, user, seen):
"<a href='https://github.com/%s' target='_blank'>%s</a> <a href='%s' target='_blank'>reviewed</a> a <a href='%s' target='_blank'>%s pull request</a>\n\n<small>%s</small>\n\n<a href='%s' target='_blank'>View Review</a>"
% (user, user, url, pull_request_url, repo_name, body, url)
)

else:
print(f"Event type {event_type} not supported!")
return None
Expand Down Expand Up @@ -268,6 +269,7 @@ def write_events(events, output_dir):
# We don't care about watching, forking, etc.
# https://docs.github.com/en/developers/webhooks-and-events/github-event-types
if event["type"] in [
"GollumEvent",
"WatchEvent",
"ForkEvent",
"MemberEvent",
Expand Down

0 comments on commit feebb28

Please sign in to comment.