Skip to content

Commit c9a84fe

Browse files
authored
Merge pull request #577 from muzimuzhi/check_run_id-is-number
Fix type of `job.check_run_id` property
2 parents 8571752 + b3b3eda commit c9a84fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expr_sema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ var BuiltinGlobalVariableTypes = map[string]ExprType{
252252
"env": NewMapObjectType(StringType{}), // env.<env_name>
253253
// https://docs.github.com/en/actions/learn-github-actions/contexts#job-context
254254
"job": NewStrictObjectType(map[string]ExprType{
255-
"check_run_id": StringType{},
255+
"check_run_id": NumberType{},
256256
"container": NewStrictObjectType(map[string]ExprType{
257257
"id": StringType{},
258258
"network": StringType{},

0 commit comments

Comments
 (0)