Refactored push and tag webhooks for Github (Fixes).
This commit is contained in:
parent
6e60c07103
commit
0e83599b9f
2 changed files with 11 additions and 6 deletions
|
|
@ -513,7 +513,7 @@ class WebhookController extends Controller
|
|||
}
|
||||
|
||||
// Check if a build already exists for this commit ID:
|
||||
$builds = $this->buildStore->getByProjectAndCommit($project->getId(), $commitId);
|
||||
$builds = $this->buildStore->getByProjectAndCommit($project->getId(), $commitId, $branch);
|
||||
|
||||
$ignore_environments = [];
|
||||
if ($builds['count']) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue