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

Validate types of action inputs #2443

Open
krzema12 opened this issue Sep 9, 2024 · 0 comments
Open

Validate types of action inputs #2443

krzema12 opened this issue Sep 9, 2024 · 0 comments
Labels
kind/feature-request New feature or request

Comments

@krzema12
Copy link

krzema12 commented Sep 9, 2024

Act version

0.2.66

Feature description

Hi!

I thought that a nice addition to the tool would be the ability to validate if given values of inputs match the declared inputs. You may think "but the actions don't really declare the types". Indeed, GitHub doesn't let action owners define the types with a first-party tool, but there's:

Integrating with the above tools would let the users know about a type mismatch even before actually running the workflow. I thought it could be an opt-in feature, so that by default, GitHub's behavior of not checking the types is preserved. Alternatively, opt-out would help with giving the users more safety by default, and they could disable if needed.

Let me know what you think!

@krzema12 krzema12 added the kind/feature-request New feature or request label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant