{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/brigade/issues/234","repository_url":"https://api.github.com/repos/Azure/brigade","labels_url":"https://api.github.com/repos/Azure/brigade/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/Azure/brigade/issues/234/comments","events_url":"https://api.github.com/repos/Azure/brigade/issues/234/events","html_url":"https://github.com/Azure/brigade/issues/234","id":283407776,"number":234,"title":"Deleting Github branches triggers brigade builds","user":{"login":"seanknox","id":1231630,"avatar_url":"https://avatars1.githubusercontent.com/u/1231630?v=4","gravatar_id":"","url":"https://api.github.com/users/seanknox","html_url":"https://github.com/seanknox","followers_url":"https://api.github.com/users/seanknox/followers","following_url":"https://api.github.com/users/seanknox/following{/other_user}","gists_url":"https://api.github.com/users/seanknox/gists{/gist_id}","starred_url":"https://api.github.com/users/seanknox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanknox/subscriptions","organizations_url":"https://api.github.com/users/seanknox/orgs","repos_url":"https://api.github.com/users/seanknox/repos","events_url":"https://api.github.com/users/seanknox/events{/privacy}","received_events_url":"https://api.github.com/users/seanknox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-19T23:59:22Z","updated_at":"2017-12-19T23:59:22Z","closed_at":null,"author_association":"MEMBER","body":"STR:\r\n- For a brigade-enabled project using GitHub webhooks, delete a branch\r\n\r\nEXPECTED:\r\n- branch deletes with no brigade action\r\n\r\n\r\nACTUAL:\r\n- Brigade tries to create a build:\r\n\r\n```\r\n[GIN] 2017/12/19 - 23:56:25 | 200 |   20.094916ms |      10.244.2.1 |  POST     /events/github\r\nCreating Build failed: Secret \"brigade-worker-01c1rk9z2nt25cb65813qpmc55-\" is invalid: metadata.name: Invalid value: \"brigade-worker-01c1rk9z2nt25cb65813qpmc55-\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\r\nError setting status to failure: POST https://api.github.com/repos/Azure/kashti/statuses/: 404 Not Found []\r\n```\r\n\r\nBranch name FWIW was \"test-brigade\""}}
{"actor":{"display_login":"seanknox"}}