feat: add new milestone trigger in GitHub

This commit is contained in:
Ali BARIN
2022-04-22 17:31:28 +02:00
parent 65e6fbd54b
commit bdfdb1f228
3 changed files with 105 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import NewBranch from './triggers/new-branch';
import NewNotification from './triggers/new-notification';
import NewPullRequest from './triggers/new-pull-request';
import NewWatcher from './triggers/new-watcher';
import NewMilestone from './triggers/new-milestone';
export default class Triggers {
newRepository: NewRepository;
@@ -13,6 +14,7 @@ export default class Triggers {
newNotification: NewNotification;
newPullRequest: NewPullRequest;
newWatcher: NewWatcher;
newMilestone: NewMilestone;
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
this.newRepository = new NewRepository(connectionData);
@@ -21,5 +23,6 @@ export default class Triggers {
this.newNotification = new NewNotification(connectionData, parameters);
this.newPullRequest = new NewPullRequest(connectionData, parameters);
this.newWatcher = new NewWatcher(connectionData, parameters);
this.newMilestone = new NewMilestone(connectionData, parameters);
}
}