{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/224","labels_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/224/comments","events_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/224/events","html_url":"https://github.com/jenkinsci/ghprb-plugin/pull/224","id":113374086,"number":224,"title":"set shared secret in webhook","user":{"login":"abridgett","id":1436440,"avatar_url":"https://avatars.githubusercontent.com/u/1436440?v=3","gravatar_id":"","url":"https://api.github.com/users/abridgett","html_url":"https://github.com/abridgett","followers_url":"https://api.github.com/users/abridgett/followers","following_url":"https://api.github.com/users/abridgett/following{/other_user}","gists_url":"https://api.github.com/users/abridgett/gists{/gist_id}","starred_url":"https://api.github.com/users/abridgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abridgett/subscriptions","organizations_url":"https://api.github.com/users/abridgett/orgs","repos_url":"https://api.github.com/users/abridgett/repos","events_url":"https://api.github.com/users/abridgett/events{/privacy}","received_events_url":"https://api.github.com/users/abridgett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-26T14:56:31Z","updated_at":"2015-10-30T20:44:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/224","html_url":"https://github.com/jenkinsci/ghprb-plugin/pull/224","diff_url":"https://github.com/jenkinsci/ghprb-plugin/pull/224.diff","patch_url":"https://github.com/jenkinsci/ghprb-plugin/pull/224.patch"},"body":"When using a differnet jenkins url (see https://github.com/jenkinsci/ghprb-plugin/pull/223) the shared secret wasn't being set in the github URL.  As such any received requests came through with:\r\n\r\nSEVERE: Request doesn't contain a signature. Check that github has a secret that should be attached\r\nto the hook\r\n\r\nThis adds the secret. Not sure how this worked beforehand - maybe it wasn't tested with autocreated hooks?\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/comments/152646999","html_url":"https://github.com/jenkinsci/ghprb-plugin/pull/224#issuecomment-152646999","issue_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/224","id":152646999,"user":{"login":"DavidTanner","id":368889,"avatar_url":"https://avatars.githubusercontent.com/u/368889?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidTanner","html_url":"https://github.com/DavidTanner","followers_url":"https://api.github.com/users/DavidTanner/followers","following_url":"https://api.github.com/users/DavidTanner/following{/other_user}","gists_url":"https://api.github.com/users/DavidTanner/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidTanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidTanner/subscriptions","organizations_url":"https://api.github.com/users/DavidTanner/orgs","repos_url":"https://api.github.com/users/DavidTanner/repos","events_url":"https://api.github.com/users/DavidTanner/events{/privacy}","received_events_url":"https://api.github.com/users/DavidTanner/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T20:44:42Z","updated_at":"2015-10-30T20:44:42Z","body":"That would make sense to add the secret when auto creating the hook."}}