Cannot pass inputs with local actions

I tried Docker container actions tutorial.

https://help.github.com/en/articles/creating-a-docker-container-action

Cannot work private action.

https://help.github.com/en/articles/creating-a-docker-container-action#example-using-a-private-action

I created simple sample. 

  • public.yml

  - Use public action.

  • main.yml

  - Use private action in .github/actions

  • local.yml

  - Use private action in root, but cannot pass the inputs

https://github.com/sakebook/hello-world-docker-action

I think same main.yml and local.yml.

But the result is different.

  • main.yml

  - https://github.com/sakebook/hello-world-docker-action/commit/8f237bd05e82b89525b9c343e17b21ec57037d87/checks?check_suite_id=254478598

  • local.yml

  - https://github.com/sakebook/hello-world-docker-action/commit/8f237bd05e82b89525b9c343e17b21ec57037d87/checks?check_suite_id=254478544

local is cannnot pass who-to-greet

This is a bug? Or specification?

Hi,

This is due to incorrect action.yml under root directory.

The action metadata file should be named as ‘action.yml’, there is an extra ‘s’ in your file name.

Official doc:

https://help.github.com/en/articles/metadata-syntax-for-github-actions

1 Like

Holy clap!

I appreciate your help.