args not clearly documented

https://help.github.com/en/articles/creating-a-docker-container-action#create-an-action-metadata-file says that

you must declare the input using inputs and pass the input in the args keyword.

Whereas in https://help.github.com/en/articles/metadata-syntax-for-github-actions#args it’s marked as optional.

Yes, because you can also access the input vie environment varibales like $INPUT\_GREETING in the docker action, so no need to pass it in the args.

I know. This wasn’t a question, but a feedback for improval.

1 Like