New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GitHub Actions] environment type missing in workflow input types documentation
#25938
Comments
|
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
This comment was marked as spam.
This comment was marked as spam.
|
@mikelei8291 Thanks so much for opening an issue! I'll triage this for the team to take a look 👀 |
|
I left a comment on #25435, but I'll reiterate here since that issue is closed.
Is |
|
Thanks for reiterating your comment here. However, I think it was probably because GitHub unified the |
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype
https://docs.github.com/en/actions/learn-github-actions/contexts#inputs-context
What part(s) of the article would you like to see updated?
environmenttype 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
environmenttype is indeed not listed in the table of all available types in theinputscontext documentation, but it is used in an example in theon.workflow_dispatch.inputsdocumentation, 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
environmenttype is allowed, or is it about to be removed.Additional information
No response
The text was updated successfully, but these errors were encountered: