File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ export class MustacheHelper {
159159 deploymentHistoryLink : deploymentHistoryLink ,
160160 deploymentWindowComment : event . payload . timeWindowComment ?? '' ,
161161 deploymentWindowCommentStyle : event . payload . timeWindowComment ? 'block' : 'none' ,
162+ triggeredWithoutApproval : event . isDeploymentDoneWithoutApproval ? 'Deployment triggered without approval' : '' ,
163+ triggeredWithoutApprovalStyle : event . isDeploymentDoneWithoutApproval ? 'block' : 'none'
162164 }
163165 }
164166 else if ( event . eventTypeId === EVENT_TYPE . Approval ) {
Original file line number Diff line number Diff line change @@ -136,6 +136,8 @@ export interface ParsedCDEvent {
136136 dockerImg : string ;
137137 deploymentWindowComment ?: string ;
138138 deploymentWindowCommentStyle ?: string ;
139+ triggeredWithoutApproval ?: string ;
140+ triggeredWithoutApprovalStyle ?: string ;
139141}
140142export enum EVENT_TYPE {
141143 Trigger = 1 ,
Original file line number Diff line number Diff line change @@ -257,5 +257,6 @@ class Event {
257257 isProdEnv : boolean
258258 baseUrl ?: string
259259 envIdsForCiPipeline ?: number [ ]
260+ isDeploymentDoneWithoutApproval ?: boolean
260261}
261262export { NotificationService , Event }
You can’t perform that action at this time.
0 commit comments