File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ test.yaml:7:24: undefined variable "unknown_context". available variables are "e
404
404
|
405
405
7 | - run : echo '${{ unknown_context }}'
406
406
| ^~~~~~~~~~~~~~~
407
- test.yaml:9:24 : property "events" is not defined in object type {action: string; action_path: string; action_ref: string; action_repository: string; action_status: string; actor: string; actor_id: string; api_url: string; artifact_cache_size_limit: string ; base_ref: string; env: string; event: object; event_name: string; event_path: string; graphql_url: string; head_ref: string; job: string; output: string; path: string; ref: string; ref_name: string; ref_protected: string ; ref_type: string; repository: string; repository_id: string; repository_owner: string; repository_owner_id: string; repository_visibility: string; repositoryurl: string; retention_days: number; run_attempt: string; run_id: string; run_number: string; secret_source: string; server_url: string; sha: string; state: string; step_summary: string; token: string; triggering_actor: string; workflow: string; workflow_ref: string; workflow_sha: string; workspace: string} [expression]
407
+ test.yaml:9:24 : property "events" is not defined in object type {action: string; action_path: string; action_ref: string; action_repository: string; action_status: string; actor: string; actor_id: string; api_url: string; artifact_cache_size_limit: number ; base_ref: string; env: string; event: object; event_name: string; event_path: string; graphql_url: string; head_ref: string; job: string; output: string; path: string; ref: string; ref_name: string; ref_protected: bool ; ref_type: string; repository: string; repository_id: string; repository_owner: string; repository_owner_id: string; repository_visibility: string; repositoryurl: string; retention_days: number; run_attempt: string; run_id: string; run_number: string; secret_source: string; server_url: string; sha: string; state: string; step_summary: string; token: string; triggering_actor: string; workflow: string; workflow_ref: string; workflow_sha: string; workspace: string} [expression]
408
408
|
409
409
9 | - run : echo '${{ github.events }}'
410
410
| ^~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ var BuiltinGlobalVariableTypes = map[string]ExprType{
211
211
"actor" : StringType {},
212
212
"actor_id" : StringType {},
213
213
"api_url" : StringType {},
214
- "artifact_cache_size_limit" : StringType {}, // Note: Undocumented
214
+ "artifact_cache_size_limit" : NumberType {}, // Note: Undocumented
215
215
"base_ref" : StringType {},
216
216
"env" : StringType {},
217
217
"event" : NewEmptyObjectType (), // Note: Stricter type check for this payload would be possible
@@ -224,7 +224,7 @@ var BuiltinGlobalVariableTypes = map[string]ExprType{
224
224
"path" : StringType {},
225
225
"ref" : StringType {},
226
226
"ref_name" : StringType {},
227
- "ref_protected" : StringType {},
227
+ "ref_protected" : BoolType {},
228
228
"ref_type" : StringType {},
229
229
"repository" : StringType {},
230
230
"repository_id" : StringType {},
You can’t perform that action at this time.
0 commit comments