I am trying to use runner.environment in my workflow, which works. However actionlint gives me the following error
.github/workflows/node-ci.yml:168:13: property "environment" is not defined in object type {arch: string; debug: string; name: string; os: string; temp: string; tool_cache: string} [expression]
|
168 | if: runner.environment == 'github-hosted'
Researching the reason why I notice running.environment has not yet been documented.
https://github.com/orgs/community/discussions/118413
github/docs#32443
so I am wondering if that is related