feat: add new pull request trigger in GitHub (#301)
* feat: add new pull request trigger in GitHub
This commit is contained in:
@@ -3,17 +3,20 @@ import NewRepository from './triggers/new-repository';
|
||||
import NewOrganization from './triggers/new-organization';
|
||||
import NewBranch from './triggers/new-branch';
|
||||
import NewNotification from './triggers/new-notification';
|
||||
import NewPullRequest from './triggers/new-pull-request';
|
||||
|
||||
export default class Triggers {
|
||||
newRepository: NewRepository;
|
||||
newOrganization: NewOrganization;
|
||||
newBranch: NewBranch;
|
||||
newNotification: NewNotification;
|
||||
newPullRequest: NewPullRequest;
|
||||
|
||||
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
|
||||
this.newRepository = new NewRepository(connectionData);
|
||||
this.newOrganization = new NewOrganization(connectionData);
|
||||
this.newBranch = new NewBranch(connectionData, parameters);
|
||||
this.newNotification = new NewNotification(connectionData, parameters);
|
||||
this.newPullRequest = new NewPullRequest(connectionData, parameters);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user