UNPKG

gith

Version:

gith[ooks] - a simple node server that responds to github post-receive events with meaningful data

81 lines (80 loc) 2.15 kB
{ "after": "33c4538c83a56a6ffe05693a9b53214650828789", "before": "7d3fd9de714011edd6cd150b650398b825ff32c2", "commits": [ { "added": [], "author": { "email": "email@domain.com", "name": "Dan Heberden", "username": "danheberden" }, "committer": { "email": "email@domain.com", "name": "Dan Heberden", "username": "danheberden" }, "distinct": true, "id": "33c4538c83a56a6ffe05693a9b53214650828789", "message": "remove files", "modified": [], "removed": [ "another2.txt" ], "timestamp": "2012-09-15T17:31:09-07:00", "url": "https://github.com/danheberden/payloads/commit/33c4538c83a56a6ffe05693a9b53214650828789" } ], "compare": "https://github.com/danheberden/payloads/compare/7d3fd9de7140...33c4538c83a5", "created": false, "deleted": false, "forced": false, "head_commit": { "added": [], "author": { "email": "email@domain.com", "name": "Dan Heberden", "username": "danheberden" }, "committer": { "email": "email@domain.com", "name": "Dan Heberden", "username": "danheberden" }, "distinct": true, "id": "33c4538c83a56a6ffe05693a9b53214650828789", "message": "remove files", "modified": [], "removed": [ "another2.txt" ], "timestamp": "2012-09-15T17:31:09-07:00", "url": "https://github.com/danheberden/payloads/commit/33c4538c83a56a6ffe05693a9b53214650828789" }, "pusher": { "email": "email@domain.com", "name": "danheberden" }, "ref": "refs/heads/master", "repository": { "created_at": "2012-09-12T22:57:59-07:00", "description": "payloads", "fork": false, "forks": 0, "has_downloads": true, "has_issues": true, "has_wiki": true, "name": "payloads", "open_issues": 0, "owner": { "email": "email@domain.com", "name": "danheberden" }, "private": false, "pushed_at": "2012-09-15T17:31:19-07:00", "size": 236, "stargazers": 0, "url": "https://github.com/danheberden/payloads", "watchers": 0 } }