Bug 1384923

Summary: Ignore push events to other branches when one is selected
Product: [Community] Copr Reporter: Michael Simacek <msimacek>
Component: backendAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-11 13:01:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Simacek 2016-10-14 11:31:35 UTC
Description of problem:
I'd like to have webhook triggered builds to happen only for specified branch. Currently, even if I specify a particular branch, it still submits a build on all push events, so I get unnecessary no-op rebuilds whenever I push to different branch.

How reproducible:
always

Steps to Reproduce:
1. setup a package with github push hook
2. select master branch for building
3. push to different branches

Actual results:
Builds are triggered on all push events.

Expected results:
Builds are triggered only on push events that updated master branch.