Skip to content

Instantly share code, notes, and snippets.

@dvdsmpsn
Created February 7, 2014 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvdsmpsn/8863206 to your computer and use it in GitHub Desktop.
Save dvdsmpsn/8863206 to your computer and use it in GitHub Desktop.
GitHub webhook payload
payload = {
"ref":"refs/heads/master",
"after":"b672235a48ca816b474f6057202b8e9b9516da8d",
"before":"72a96f14ce53e4711398b063f1ac6c271322b082",
"created":false,
"deleted":false,
"forced":false,
"compare":"https://github.com/dvdsmpsn/puppet-day_o/compare/72a96f14ce53...b672235a48ca",
"commits":[],
"head_commit":{
"id":"b672235a48ca816b474f6057202b8e9b9516da8d",
"distinct":true,
"message":"Day-O add some folders ;)",
"timestamp":"2014-01-03T04:29:25-08:00",
"url":"https://github.com/dvdsmpsn/puppet-day_o/commit/b672235a48ca816b474f6057202b8e9b9516da8d",
"author":{
"name":"David Simpson",
"email":"david@davidsimpson.me",
"username":"dvdsmpsn"
},
"committer":{
"name":"David Simpson",
"email":"david@davidsimpson.me",
"username":"dvdsmpsn"
},
"added":[
"spec/classes/day_o_spec.rb",
"spec/fixtures/modules/day_o/manifests",
"spec/fixtures/modules/stdlib/.gemspec",
"spec/fixtures/modules/stdlib/.gitignore",
"........",
"spec/fixtures/modules/stdlib/tests/has_ip_network.pp",
"spec/fixtures/modules/stdlib/tests/init.pp"
],
"removed":[],
"modified":[]
},
"repository":{
"id":15608766,
"name":"puppet-day_o",
"url":"https://github.com/dvdsmpsn/puppet-day_o",
"description":"Install Day-O using Puppet",
"watchers":0,
"stargazers":0,
"forks":0,
"fork":false,
"size":244,
"owner":{
"name":"dvdsmpsn",
"email":"david@davidsimpson.me"
},
"private":false,
"open_issues":0,
"has_issues":true,
"has_downloads":true,
"has_wiki":true,
"language":"Ruby",
"created_at":1388751333,
"pushed_at":1388752394,
"master_branch":"master"
},
"pusher":{
"name":"none"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment