actionlint
actionlint copied to clipboard
Actionlint doesn't notice when a call to a composite action or reusable workflow is missing inputs
It would be great if it could call out when a composite action or a reusable workflow is being called without all the required inputs (Not sure if this is considered beyond the scope of actionlint)
Example, running lint on the files below would cause an error since the parent workflow doesn't pass a value for the required second-input
input:
Workflow file:
jobs:
parent-workflow:
name: Do the build
uses: ./.github/workflows/_reusable_workflow.yml
with:
first-input: some-value
./.github/workflows/_reusable_workflow.yml contents:
on:
workflow_call:
inputs:
first-input:
required: true
type: string
description: the first input
second-input:
required: true
type: string
description: the second input
This is an enhancement which is not supported by actionlint yet though local actions are already supported.