feat: add new branch trigger in GitHub
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
6bee6bafa8
commit
3551d12e7d
@@ -1,13 +1,16 @@
|
||||
import { IJSONObject } from '@automatisch/types';
|
||||
import NewRepository from './triggers/new-repository';
|
||||
import NewOrganization from './triggers/new-organization';
|
||||
import NewBranch from './triggers/new-branch';
|
||||
|
||||
export default class Triggers {
|
||||
newRepository: NewRepository;
|
||||
newOrganization: NewOrganization;
|
||||
newBranch: NewBranch;
|
||||
|
||||
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
|
||||
this.newRepository = new NewRepository(connectionData);
|
||||
this.newOrganization = new NewOrganization(connectionData);
|
||||
this.newBranch = new NewBranch(connectionData, parameters);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user