@@ -2711,9 +2711,11 @@ type WorkflowTrigger struct {
27112711 //
27122712 // Context Usage by Trigger Type:
27132713 //
2714- // - Manual: Can use any context type
2715- // - Time: Typically uses Projects or Repositories context
2716- // - PullRequest: Can use any context, FromTrigger uses PR repository context
2714+ // - Manual: Can use any context type
2715+ // - Time: Typically uses Projects or Repositories context
2716+ // - PullRequest: Can use any context, FromTrigger uses PR repository context
2717+ // - Incident: Typically uses Projects or Repositories context (no inherent repo
2718+ // context)
27172719 Context WorkflowTriggerContext `json:"context" api:"required"`
27182720 // Manual trigger - executed when StartWorkflow RPC is called. No additional
27192721 // configuration needed.
@@ -2855,9 +2857,11 @@ type WorkflowTriggerParam struct {
28552857 //
28562858 // Context Usage by Trigger Type:
28572859 //
2858- // - Manual: Can use any context type
2859- // - Time: Typically uses Projects or Repositories context
2860- // - PullRequest: Can use any context, FromTrigger uses PR repository context
2860+ // - Manual: Can use any context type
2861+ // - Time: Typically uses Projects or Repositories context
2862+ // - PullRequest: Can use any context, FromTrigger uses PR repository context
2863+ // - Incident: Typically uses Projects or Repositories context (no inherent repo
2864+ // context)
28612865 Context param.Field [WorkflowTriggerContextParam ] `json:"context" api:"required"`
28622866 // Manual trigger - executed when StartWorkflow RPC is called. No additional
28632867 // configuration needed.
@@ -2918,9 +2922,11 @@ func (r WorkflowTriggerTimeParam) MarshalJSON() (data []byte, err error) {
29182922//
29192923// Context Usage by Trigger Type:
29202924//
2921- // - Manual: Can use any context type
2922- // - Time: Typically uses Projects or Repositories context
2923- // - PullRequest: Can use any context, FromTrigger uses PR repository context
2925+ // - Manual: Can use any context type
2926+ // - Time: Typically uses Projects or Repositories context
2927+ // - PullRequest: Can use any context, FromTrigger uses PR repository context
2928+ // - Incident: Typically uses Projects or Repositories context (no inherent repo
2929+ // context)
29242930type WorkflowTriggerContext struct {
29252931 // Execute workflow in agent-managed environments. Agent receives the specified
29262932 // prompt and manages execution context.
@@ -3102,9 +3108,11 @@ func (r workflowTriggerContextRepositoriesRepositoryURLsJSON) RawJSON() string {
31023108//
31033109// Context Usage by Trigger Type:
31043110//
3105- // - Manual: Can use any context type
3106- // - Time: Typically uses Projects or Repositories context
3107- // - PullRequest: Can use any context, FromTrigger uses PR repository context
3111+ // - Manual: Can use any context type
3112+ // - Time: Typically uses Projects or Repositories context
3113+ // - PullRequest: Can use any context, FromTrigger uses PR repository context
3114+ // - Incident: Typically uses Projects or Repositories context (no inherent repo
3115+ // context)
31083116type WorkflowTriggerContextParam struct {
31093117 // Execute workflow in agent-managed environments. Agent receives the specified
31103118 // prompt and manages execution context.
0 commit comments