-
Notifications
You must be signed in to change notification settings - Fork 19
Description
The GitHub README and Datadog docs both show examples using kebab-case for inputs/outputs (e.g. api-key, app-key), but as of the latest version (v2.2.0), it looks like it's expecting snake_case instead (e.g. api_key, app_key).
When using the kebab-case input params (as suggested by the docs), I got this warning:
Warning: Unexpected input(s) 'api-key', 'app-key', 'test-search-query', valid inputs are ['api_key', 'app_key', 'batch_timeout', 'config_path', 'datadog_site', 'fail_on_critical_errors', 'fail_on_missing_tests', 'fail_on_timeout', 'files', 'junit_report', 'public_ids', 'subdomain', 'test_search_query', 'tunnel', 'variables']
Switching to snake_case fixed the input issue - but I didn’t realize the action outputs need to be snake_case too, and I ended up spending extra time debugging why nothing was being returned - but after changing it, it still didn't output anything, i don't know if this is related but docs clearly show how to use the outputs but it still doesn't work either with kebab-case or snake_case
Would be great to update the docs to match, or clarify if this was an intentional change 👍