Skip to content

Commit

Permalink
feat(workflows): adds new notification_trigger type INVESTIGATING (
Browse files Browse the repository at this point in the history
…#1270)

feat(workflows): adds new `notification_trigger` type `INVESTIGATING` (#1270)
  • Loading branch information
shubh-0708 authored Feb 3, 2025
1 parent 1267425 commit 9a9833c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/entities/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,8 @@ type AiWorkflowsNotificationTrigger string
var AiWorkflowsNotificationTriggerTypes = struct {
// Send a notification when the issue is acknowledged
ACKNOWLEDGED AiWorkflowsNotificationTrigger
// Send a notification when the issue is being investigated
INVESTIGATING AiWorkflowsNotificationTrigger
// Send a notification when the issue is activated
ACTIVATED AiWorkflowsNotificationTrigger
// Send a notification when the issue is closed
Expand All @@ -634,6 +636,8 @@ var AiWorkflowsNotificationTriggerTypes = struct {
}{
// Send a notification when the issue is acknowledged
ACKNOWLEDGED: "ACKNOWLEDGED",
// Send a notification when the issue is being investigated
INVESTIGATING: "INVESTIGATING",
// Send a notification when the issue is activated
ACTIVATED: "ACTIVATED",
// Send a notification when the issue is closed
Expand Down
4 changes: 4 additions & 0 deletions pkg/workflows/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ type AiWorkflowsNotificationTrigger string
var AiWorkflowsNotificationTriggerTypes = struct {
// Send a notification when the issue is acknowledged
ACKNOWLEDGED AiWorkflowsNotificationTrigger
// Send a notification when the issue is being investigated
INVESTIGATING AiWorkflowsNotificationTrigger
// Send a notification when the issue is activated
ACTIVATED AiWorkflowsNotificationTrigger
// Send a notification when the issue is closed
Expand All @@ -184,6 +186,8 @@ var AiWorkflowsNotificationTriggerTypes = struct {
}{
// Send a notification when the issue is acknowledged
ACKNOWLEDGED: "ACKNOWLEDGED",
// Send a notification when the issue is being investigated
INVESTIGATING: "INVESTIGATING",
// Send a notification when the issue is activated
ACTIVATED: "ACTIVATED",
// Send a notification when the issue is closed
Expand Down

0 comments on commit 9a9833c

Please sign in to comment.