fix: add documented job workflow context properties
AL
1mo ago+25+25+01234567890123456789-1-1-0123456789
Description
Closes #705
job.workflow_repository is documented on the GitHub Actions job context, but actionlint's strict job type did not include it, so valid expressions failed with property "workflow_repository" is not defined in object type.
The same docs block also lists the sibling fields job.workflow_ref, job.workflow_sha, and job.workflow_file_path. Those were missing from the type map as well, so this change adds the full documented set.
Changes
- Add
workflow_repository,workflow_ref,workflow_sha, andworkflow_file_pathas strings on the builtinjobcontext type - Cover each property in the expression semantics tests
Test plan
-
go test . -count=1 - Focused:
go test -count=1 -run 'TestExprSemanticsCheckOK|TestBuiltinGlobalVariableTypesValidation' .