action-docs icon indicating copy to clipboard operation
action-docs copied to clipboard

Error when workflow output has no description

Open danpowell88 opened this issue 1 year ago • 1 comments

Using on a reusable workflow that has outputs with no description fails with

Cannot read properties of undefined (reading 'replace')

Docs state that output description in optional https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onworkflow_calloutputs

If I add in a dummy description to each output then it works correctly

danpowell88 avatar Nov 20 '24 00:11 danpowell88

The same error occurs if a workflow input has no description.

mathias-kogler-snkeos avatar Nov 21 '24 07:11 mathias-kogler-snkeos