You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Below codes produce an actionlint error which I don't expect to get.
The error says that property "second-string" is not defined in object type {first-string: string} but these workflows work fine without fixing "the error".
I think this error should not be appeared in this case.
Is there any way avoiding this?
Or if it is a bug can you fix this?
# example.ymlon:
workflow_dispatch:
inputs:
first-string:
description: some stringtype: stringworkflow_call:
inputs:
first-string:
description: some stringtype: stringsecond-string:
description: string used only by workflow_calltype: stringjobs:
some-job:
runs-on: ubuntu-lateststeps:
- run: echo '${{ inputs.first-string }}'
- run: echo '${{ inputs.second-string }}'
This looks a bug that actionlint does not consider a case where both workflow_dispatch and workflow_call are having an input with the same name. I'll take a look.
Hi,
Below codes produce an actionlint error which I don't expect to get.
The error says that
property "second-string" is not defined in object type {first-string: string}
but these workflows work fine without fixing "the error".I think this error should not be appeared in this case.
Is there any way avoiding this?
Or if it is a bug can you fix this?
The text was updated successfully, but these errors were encountered: