Following validation of existence of an action and tag, I think it would be awesome if the validator grabbed action.yml and validated the with: block for required values. This would allow us to detect typos or mis-configurations early, especially in workflow_call and similar situations. Similarly for workflow_call situations, the inputs: could be checked for required and type inconsistencies in the calling with: block.
Additionally there could be a warning emitted if the default matches a provided value, but this is probably controversial, so might be worth treating it as a separate issue/enhancement.
Following validation of existence of an action and tag, I think it would be awesome if the validator grabbed
action.yml
and validated thewith:
block for required values. This would allow us to detect typos or mis-configurations early, especially in workflow_call and similar situations. Similarly forworkflow_call
situations, theinputs:
could be checked forrequired
andtype
inconsistencies in the callingwith:
block.Additionally there could be a warning emitted if the default matches a provided value, but this is probably controversial, so might be worth treating it as a separate issue/enhancement.
cc @award28 FYI