Skip to content

Commit eb856ef

Browse files
feat(api): add incident trigger to WorkflowTrigger and WorkflowExecution
1 parent e16a73a commit eb856ef

2 files changed

Lines changed: 7 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/resources/automations.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,6 +2247,8 @@ export interface WorkflowTrigger {
22472247
* - Manual: Can use any context type
22482248
* - Time: Typically uses Projects or Repositories context
22492249
* - PullRequest: Can use any context, FromTrigger uses PR repository context
2250+
* - Incident: Typically uses Projects or Repositories context (no inherent repo
2251+
* context)
22502252
*/
22512253
context: WorkflowTriggerContext;
22522254

@@ -2332,6 +2334,8 @@ export namespace WorkflowTrigger {
23322334
* - Manual: Can use any context type
23332335
* - Time: Typically uses Projects or Repositories context
23342336
* - PullRequest: Can use any context, FromTrigger uses PR repository context
2337+
* - Incident: Typically uses Projects or Repositories context (no inherent repo
2338+
* context)
23352339
*/
23362340
export interface WorkflowTriggerContext {
23372341
/**

0 commit comments

Comments
 (0)