Permalink
Browse files

Include author in gh-push posts

  • Loading branch information...
r04r committed Sep 18, 2016
1 parent e038521 commit b1ac0e6cd7160311ef38c7476059c1fca71a1d16
Showing with 3 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +1 −1 gh-push.php
View
@@ -11,4 +11,5 @@ db.log
/bin
/node_modules/
/includes/stats.json
*.tmp
*.tmp
.idea
View
@@ -15,7 +15,7 @@
$body = array();
foreach ($payload->commits as $commit) {
$body[] = '* [raw]'.$commit->message.'[/raw]';
$body[] = '* [raw]'.$commit->message.'[/raw]'.' [b]-[raw]'.$commit->author->name.'[/raw][/b]';
}
$body = "[list]\n".implode($body, "\n").'[/list]'.$payload->compare;

0 comments on commit b1ac0e6

Please sign in to comment.