Closed acalcutt closed 1 month ago
That's because it is undocumented. Once we understand it is a part of public API, we can easily add it to actionlint.
Previously there were several private context properties and such properties were removed silently. So undocumented properties are basically not recognized by actionlint.
https://docs.github.com/en/actions/learn-github-actions/contexts#runner-context
According to https://github.com/github/docs/issues/32443, it seems a public API. So I will add the property.
Thanks for including this!
I am trying to use runner.environment in my workflow, which works. However actionlint gives me the following error
Researching the reason why I notice running.environment has not yet been documented. https://github.com/orgs/community/discussions/118413 https://github.com/github/docs/issues/32443 so I am wondering if that is related