{"action":"opened","issue":{"url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/146","repository_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit","labels_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/146/comments","events_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/146/events","html_url":"https://github.com/ebu/ebu-tt-live-toolkit/issues/146","id":171896096,"number":146,"title":"gh-pages is updated for non-master branch when doing PR","user":{"login":"frans-ebu","id":4577613,"avatar_url":"https://avatars.githubusercontent.com/u/4577613?v=3","gravatar_id":"","url":"https://api.github.com/users/frans-ebu","html_url":"https://github.com/frans-ebu","followers_url":"https://api.github.com/users/frans-ebu/followers","following_url":"https://api.github.com/users/frans-ebu/following{/other_user}","gists_url":"https://api.github.com/users/frans-ebu/gists{/gist_id}","starred_url":"https://api.github.com/users/frans-ebu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frans-ebu/subscriptions","organizations_url":"https://api.github.com/users/frans-ebu/orgs","repos_url":"https://api.github.com/users/frans-ebu/repos","events_url":"https://api.github.com/users/frans-ebu/events{/privacy}","received_events_url":"https://api.github.com/users/frans-ebu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T13:05:46Z","updated_at":"2016-08-18T13:05:46Z","closed_at":null,"body":"So simply put the branch variable we test for is probably set to 'master' when you do a pull request. We just need to see if there is another variable we can use to see it is not a commit to a branch. This explains the behaviour we saw before :)"}}
{"actor":{"display_login":"frans-ebu"}}