Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore push event without commits (#7)
I'm not sure what causes this, but it just triggered in one of the runs: ```bash Traceback (most recent call last): File "/generate-events.py", line 361, in <module> main() File "/generate-events.py", line 357, in main write_events(events, output_dir) File "/generate-events.py", line 282, in write_events content = generate_content(event, username, seen) File "/generate-events.py", line 142, in generate_content commit_url = "%s/commit/%s" % (repo, event["payload"]["commits"][-1]["sha"]) IndexError: list index out of range ```
- Loading branch information