Github API: Add conditional for issues events; take into account multiple commits