[Feature] Detect invalid inputs
I have several workflows which can be triggered manually (workflow_dispatch) and by other workflows (workflow_call). Usually those take the same inputs and sometimes I forget to declare the inputs for both triggers.
This leads to errors like Invalid input, missingInput is not defined in the referenced workflow.
I created a sample project to show this.
This workflow calls this workflow with missingInput.
As it can be seen in this run this is invalid as missingInput is not defined as an input for workflow_call.
It would be great if actionlint would detect that.
Constraint: As checking remote workflows would include to download and parse them I would restrict this feature for workflows of the same repository.
~Some extension in vscode detects the problem. I have to find out which one it is~
The GitHub Actions vscode Extension catches the error.
I agree this would be very handy and I'm willing to take it on as this is the most common issue in workflows that is not caught by actionlint on my current development team. Has anyone else started work on this?