@@ -203,47 +203,47 @@ var BuiltinFuncSignatures = map[string][]*FuncSignature{
203
203
var BuiltinGlobalVariableTypes = map [string ]ExprType {
204
204
// https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
205
205
"github" : NewStrictObjectType (map [string ]ExprType {
206
- "action" : StringType {},
207
- "action_path" : StringType {},
208
- "action_ref" : StringType {},
209
- "action_repository" : StringType {},
210
- "action_status" : StringType {},
211
- "actor" : StringType {},
212
- "actor_id" : StringType {},
213
- "api_url" : StringType {},
214
- "base_ref" : StringType {},
215
- "env" : StringType {},
216
- "event" : NewEmptyObjectType (), // Note: Stricter type check for this payload would be possible
217
- "event_name" : StringType {},
218
- "event_path" : StringType {},
219
- "graphql_url" : StringType {},
220
- "head_ref" : StringType {},
221
- "job" : StringType {},
222
- "job_workflow_sha" : StringType {},
223
- "ref" : StringType {},
224
- "ref_name" : StringType {},
225
- "ref_protected" : StringType {},
226
- "ref_type" : StringType {},
227
- "path" : StringType {},
228
- "repository" : StringType {},
229
- "repository_id" : StringType {},
230
- "repository_owner" : StringType {},
231
- "repository_owner_id" : StringType {},
232
- "repositoryurl" : StringType {}, // repositoryUrl
233
- "repository_visibility" : StringType {},
234
- "retention_days" : NumberType {},
235
- "run_id" : StringType {},
236
- "run_number" : StringType {},
237
- "run_attempt" : StringType {},
238
- "secret_source" : StringType {},
239
- "server_url" : StringType {},
240
- "sha" : StringType {},
241
- "token" : StringType {},
242
- "triggering_actor" : StringType {},
243
- "workflow" : StringType {},
244
- "workflow_ref" : StringType {},
245
- "workflow_sha" : StringType {},
246
- "workspace" : StringType {},
206
+ "action" : StringType {},
207
+ "action_path" : StringType {},
208
+ "action_ref" : StringType {},
209
+ "action_repository" : StringType {},
210
+ "action_status" : StringType {},
211
+ "actor" : StringType {},
212
+ "actor_id" : StringType {},
213
+ "api_url" : StringType {},
214
+ "base_ref" : StringType {},
215
+ "env" : StringType {},
216
+ "event" : NewEmptyObjectType (), // Note: Stricter type check for this payload would be possible
217
+ "event_name" : StringType {},
218
+ "event_path" : StringType {},
219
+ "graphql_url" : StringType {},
220
+ "head_ref" : StringType {},
221
+ "job" : StringType {},
222
+ "job_workflow_sha" : StringType {},
223
+ "ref" : StringType {},
224
+ "ref_name" : StringType {},
225
+ "ref_protected" : StringType {},
226
+ "ref_type" : StringType {},
227
+ "path" : StringType {},
228
+ "repository" : StringType {},
229
+ "repository_id" : StringType {},
230
+ "repository_owner" : StringType {},
231
+ "repository_owner_id" : StringType {},
232
+ "repositoryurl" : StringType {}, // repositoryUrl
233
+ "repository_visibility" : StringType {}, // Note: Undocumented
234
+ "retention_days" : NumberType {},
235
+ "run_id" : StringType {},
236
+ "run_number" : StringType {},
237
+ "run_attempt" : StringType {},
238
+ "secret_source" : StringType {},
239
+ "server_url" : StringType {},
240
+ "sha" : StringType {},
241
+ "token" : StringType {},
242
+ "triggering_actor" : StringType {},
243
+ "workflow" : StringType {},
244
+ "workflow_ref" : StringType {},
245
+ "workflow_sha" : StringType {},
246
+ "workspace" : StringType {},
247
247
}),
248
248
// https://docs.github.com/en/actions/learn-github-actions/contexts#env-context
249
249
"env" : NewMapObjectType (StringType {}), // env.<env_name>
0 commit comments