fix: add documented job workflow context properties

AL
1mo ago
+25-1

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, and workflow_file_path as strings on the builtin job context type
  • Cover each property in the expression semantics tests

Test plan

  • go test . -count=1
  • Focused: go test -count=1 -run 'TestExprSemanticsCheckOK|TestBuiltinGlobalVariableTypesValidation' .