feat: add new label trigger in GitHub

This commit is contained in:
Ali BARIN
2022-04-22 18:08:41 +02:00
parent c79622aefd
commit 57478dcc17
3 changed files with 89 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import NewPullRequest from './triggers/new-pull-request';
import NewWatcher from './triggers/new-watcher';
import NewMilestone from './triggers/new-milestone';
import NewCommitComment from './triggers/new-commit-comment';
import NewLabel from './triggers/new-label';
export default class Triggers {
newRepository: NewRepository;
@@ -17,6 +18,7 @@ export default class Triggers {
newWatcher: NewWatcher;
newMilestone: NewMilestone;
newCommitComment: NewCommitComment;
newLabel: NewLabel;
constructor(connectionData: IJSONObject, parameters: IJSONObject) {
this.newRepository = new NewRepository(connectionData);
@@ -27,5 +29,6 @@ export default class Triggers {
this.newWatcher = new NewWatcher(connectionData, parameters);
this.newMilestone = new NewMilestone(connectionData, parameters);
this.newCommitComment = new NewCommitComment(connectionData, parameters);
this.newLabel = new NewLabel(connectionData, parameters);
}
}