Closed breadadams closed 1 week ago
The reason the old fields were marked as required and not the new ones is that otherwise all the existing users of the action would've had to change their workflows adding the new fields. I didn't know the editor displayed it the way you demonstrated though. I approved your change but I'll have to bump the major version of the action to v2 to avoid breaking things for v1 users.
Makes sense, thanks for such a quick merge/release! 🚀
It appears that the 2 deprecated inputs,
service-name
andapi-key
, are set as required, which causes this minor annoyance in my editor:Hovering the red squiggly reveals why:
This is confusing as without coming here and looking in
action.yml
you'd think thatapi_key
andservice
are the deprecated inputs, and that you should replace them withservice-name
andapi-key
(basically what I was about to do, before checking the source code and opening this issue 🙂).https://github.com/DataDog/test-visibility-github-action/blob/a4ce64c0df7408dc89a965bc7f6d170a213c9c73/action.yml#L35-L43