adds formatSha() function to github event views