auto-assign-review-teams icon indicating copy to clipboard operation
auto-assign-review-teams copied to clipboard

Ambiguity in the API definition (teams/persons)

Open KevinDeJong-TomTom opened this issue 2 years ago • 0 comments

The introduction of the VSCode GitHub Actions extension allows us to perform direct validation of workflows.

Utilizing this action with only persons as an input parameter will result in the YAML scheme validation error: Missing required input 'teams'.

Considering that the action returns a runtime error when neither teams nor persons is set (Please specify 'teams' and/or 'persons'), I suggest making both input parameters optional (required: false). I am more than happy to open a PR if this is an acceptable solution.

KevinDeJong-TomTom avatar Apr 03 '23 11:04 KevinDeJong-TomTom