{"action":"opened","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/1132","labels_url":"https://api.github.com/repos/Shippable/support/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/1132/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/1132/events","html_url":"https://github.com/Shippable/support/issues/1132","id":60195473,"number":1132,"title":"A build is not scheduled after a merge operation on the branch","user":{"login":"aproxs","id":1939830,"avatar_url":"https://avatars.githubusercontent.com/u/1939830?v=3","gravatar_id":"","url":"https://api.github.com/users/aproxs","html_url":"https://github.com/aproxs","followers_url":"https://api.github.com/users/aproxs/followers","following_url":"https://api.github.com/users/aproxs/following{/other_user}","gists_url":"https://api.github.com/users/aproxs/gists{/gist_id}","starred_url":"https://api.github.com/users/aproxs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aproxs/subscriptions","organizations_url":"https://api.github.com/users/aproxs/orgs","repos_url":"https://api.github.com/users/aproxs/repos","events_url":"https://api.github.com/users/aproxs/events{/privacy}","received_events_url":"https://api.github.com/users/aproxs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-07T07:20:32Z","updated_at":"2015-03-07T07:20:32Z","closed_at":null,"body":"Very simple repro:\r\n\r\ngit repository with 2 branches: dev and master, and dev is ahead of master.\r\n\r\no - abcdef123 <- dev\r\n|\r\no\r\n|\r\no - 9876540 <- master --- origin/master --- origin/dev\r\n...\r\n\r\nAs I expected, a build is scheduled in shippable when I do:\r\ngit checkout dev\r\ngit push\r\n\r\nand then I'm in the following state:\r\no - abcdef123 <- dev --- origin/dev\r\n|\r\no\r\n|\r\no - 9876540 <- master --- origin/master\r\n...\r\n\r\nHowever, when I merge my changes to master and push master, a build is not scheduled.\r\nIn other words. I do:\r\ngit checkout master\r\ngit push\r\n\r\n(new state)\r\no - abcdef123 <- dev --- master --- origin/master --- origin/dev\r\n|\r\no\r\n|\r\no - 9876540\r\n...\r\n\r\nBut no build is scheduled.\r\n\r\nIn our case dev moves fast and when the code is ready we merge the changes into master, which should trigger an automatic deployment, but because of this issue our deployments never get to run. "}}