{"action":"created","issue":{"url":"https://api.github.com/repos/broadinstitute/cromwell-tools/issues/9","repository_url":"https://api.github.com/repos/broadinstitute/cromwell-tools","labels_url":"https://api.github.com/repos/broadinstitute/cromwell-tools/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/broadinstitute/cromwell-tools/issues/9/comments","events_url":"https://api.github.com/repos/broadinstitute/cromwell-tools/issues/9/events","html_url":"https://github.com/broadinstitute/cromwell-tools/pull/9","id":307476464,"number":9,"title":"Enable Cromwell-tools to add labels at submission time","user":{"login":"rexwangcc","id":14366016,"avatar_url":"https://avatars2.githubusercontent.com/u/14366016?v=4","gravatar_id":"","url":"https://api.github.com/users/rexwangcc","html_url":"https://github.com/rexwangcc","followers_url":"https://api.github.com/users/rexwangcc/followers","following_url":"https://api.github.com/users/rexwangcc/following{/other_user}","gists_url":"https://api.github.com/users/rexwangcc/gists{/gist_id}","starred_url":"https://api.github.com/users/rexwangcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexwangcc/subscriptions","organizations_url":"https://api.github.com/users/rexwangcc/orgs","repos_url":"https://api.github.com/users/rexwangcc/repos","events_url":"https://api.github.com/users/rexwangcc/events{/privacy}","received_events_url":"https://api.github.com/users/rexwangcc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-22T01:43:50Z","updated_at":"2018-03-23T15:04:34Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/broadinstitute/cromwell-tools/pulls/9","html_url":"https://github.com/broadinstitute/cromwell-tools/pull/9","diff_url":"https://github.com/broadinstitute/cromwell-tools/pull/9.diff","patch_url":"https://github.com/broadinstitute/cromwell-tools/pull/9.patch"},"body":"This PR enables Cromwell-tools to add the label(s) at submission time. \r\n\r\nBesides, it implements a Cromwell label validator to check the validity of the label(s) before hitting the Cromwell endpoint. \r\n\r\nThe implementation is based on the Cromwell doc: https://cromwell.readthedocs.io/en/develop/Labels/ and the scala code base of Cromwell: https://github.com/broadinstitute/cromwell/blob/develop/core/src/main/scala/cromwell/core/labels/Label.scala"},"comment":{"url":"https://api.github.com/repos/broadinstitute/cromwell-tools/issues/comments/375694903","html_url":"https://github.com/broadinstitute/cromwell-tools/pull/9#issuecomment-375694903","issue_url":"https://api.github.com/repos/broadinstitute/cromwell-tools/issues/9","id":375694903,"user":{"login":"dshiga","id":773882,"avatar_url":"https://avatars2.githubusercontent.com/u/773882?v=4","gravatar_id":"","url":"https://api.github.com/users/dshiga","html_url":"https://github.com/dshiga","followers_url":"https://api.github.com/users/dshiga/followers","following_url":"https://api.github.com/users/dshiga/following{/other_user}","gists_url":"https://api.github.com/users/dshiga/gists{/gist_id}","starred_url":"https://api.github.com/users/dshiga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshiga/subscriptions","organizations_url":"https://api.github.com/users/dshiga/orgs","repos_url":"https://api.github.com/users/dshiga/repos","events_url":"https://api.github.com/users/dshiga/events{/privacy}","received_events_url":"https://api.github.com/users/dshiga/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T15:04:34Z","updated_at":"2018-03-23T15:04:34Z","author_association":"COLLABORATOR","body":"That works for me!"}}
{"actor":{"display_login":"dshiga"}}