Skip to content

Commit 5e90f8a

Browse files
feat(api): add incident trigger support to workflow_trigger and workflow_execution
1 parent e8c04d4 commit 5e90f8a

5 files changed

Lines changed: 9 additions & 3 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-493f18eda7390617e5fd5216d7285f5e608fc0ca9aab5bb2c96d5f0b20c4546d.yml
3-
openapi_spec_hash: a2032a891fbc06a3d7395b3e44b285f2
4-
config_hash: 3db4a1c922cee0f16b8dad0da31c341f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-3b6c63dbf36b52a89f73a4f66b8ab0b624608c8bda8cfa5b1baa60e59950b7ff.yml
3+
openapi_spec_hash: bc7fbb5f2e95ac70868022387557008f
4+
config_hash: 173a6e0a8069a38a997548c7f5f8a5e3

src/gitpod/types/workflow_trigger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ class WorkflowTrigger(BaseModel):
9292
- Manual: Can use any context type
9393
- Time: Typically uses Projects or Repositories context
9494
- PullRequest: Can use any context, FromTrigger uses PR repository context
95+
- Incident: Typically uses Projects or Repositories context (no inherent repo
96+
context)
9597
"""
9698

9799
manual: Optional[object] = None

src/gitpod/types/workflow_trigger_context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ class WorkflowTriggerContext(BaseModel):
103103
- Manual: Can use any context type
104104
- Time: Typically uses Projects or Repositories context
105105
- PullRequest: Can use any context, FromTrigger uses PR repository context
106+
- Incident: Typically uses Projects or Repositories context (no inherent repo context)
106107
"""
107108

108109
agent: Optional[Agent] = None

src/gitpod/types/workflow_trigger_context_param.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class WorkflowTriggerContextParam(TypedDict, total=False):
104104
- Manual: Can use any context type
105105
- Time: Typically uses Projects or Repositories context
106106
- PullRequest: Can use any context, FromTrigger uses PR repository context
107+
- Incident: Typically uses Projects or Repositories context (no inherent repo context)
107108
"""
108109

109110
agent: Agent

src/gitpod/types/workflow_trigger_param.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ class WorkflowTriggerParam(TypedDict, total=False):
9090
- Manual: Can use any context type
9191
- Time: Typically uses Projects or Repositories context
9292
- PullRequest: Can use any context, FromTrigger uses PR repository context
93+
- Incident: Typically uses Projects or Repositories context (no inherent repo
94+
context)
9395
"""
9496

9597
manual: object

0 commit comments

Comments
 (0)