Skip to content

Commit af2c44e

Browse files
feat(api): add prebuild trigger value to environments automations
1 parent 5a292cb commit af2c44e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.stats.yml

Lines changed: 2 additions & 2 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%2Fgitpod-803e9a382bb3f4d9b6ef7b1dd12c5541bf93608d3f4c240e99054929130f260b.yml
3-
openapi_spec_hash: e2eae7e0a5a1fc83f3af40662b1ffbd1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-0c7c44116a92283a25ed199143e085b16a97dd804e0199e0058ec8ba61fa82a6.yml
3+
openapi_spec_hash: 52646ebb63427df86c33aca56688b9a7
44
config_hash: d73914a733b27d121d59aa43bc7c710e

src/gitpod/types/environments/automations_file_param.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ class Services(TypedDict, total=False):
5454
runs_on: Annotated[RunsOn, PropertyInfo(alias="runsOn")]
5555

5656
triggered_by: Annotated[
57-
List[Literal["manual", "postEnvironmentStart", "postDevcontainerStart"]], PropertyInfo(alias="triggeredBy")
57+
List[Literal["manual", "postEnvironmentStart", "postDevcontainerStart", "prebuild"]],
58+
PropertyInfo(alias="triggeredBy"),
5859
]
5960

6061

0 commit comments

Comments
 (0)