Skip to content
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

Using core params generates warning in javascript actions #10

Open
chris48s opened this issue May 23, 2021 · 1 comment
Open

Using core params generates warning in javascript actions #10

chris48s opened this issue May 23, 2021 · 1 comment

Comments

@chris48s
Copy link
Member

If I make a new javascript action, a warning like

Warning: Unexpected input(s) 'file-name', 'github-token', valid inputs are ['coverage-file-name']

is shown unless I explicitly re-declare every param the core action supports (currently 8 params) in every "child" action.

This doesn't prevent those params from working, but the warning is annoying because it makes it seems like something is wrong, even though these are valid params inherited from action-badges/core and will be respected. Is there any way to work around this?

@Sysix
Copy link

Sysix commented Feb 11, 2024

It also shows in me IDE with github-actions extension

grafik

Is there any way to work around this?

Looks like GitHub has no use case for this. So probably auto generate the action.yml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants