-
Notifications
You must be signed in to change notification settings - Fork 62.5k
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/contexts#inputs-context
What part(s) of the article would you like to see updated?
environment
type should be added to the list of allowed types.
This type had been in the list of allowed types before #25435 was opened and it was considered as a typo of "number". The environment
type is indeed not listed in the table of all available types in the inputs
context documentation, but it is used in an example in the on.workflow_dispatch.inputs
documentation, and in real world applications as mentioned by @nathanchapman in this comment.
Therefore, I don't think this is a typo, but a miss in the documentations linked above, and would like it to be added back to the documentations.
Someone familiar with the action runner code could also clarify whether the environment
type is allowed, or is it about to be removed.
Additional information
No response