Detect deprecated workflow commands such as set-output or save-state and suggest the alternative. See the document for more details. (#234)
# ERROR: This format of 'set-output' workflow command was deprecated
- run: echo '::set-output name=foo::bar'
Fix that ${{ }} expression at on.workflow_call.inputs.<id>.default caused an error. (#235)
on:
workflow_call:
inputs:
project:
type: string
# OK: The default value is generated dynamically
default: ${{ github.event.repository.name }}
Improve type of inputs context to grow gradually while checking inputs in workflow_call event.
on:
workflow_call:
inputs:
input1:
type: string
# ERROR: `input2` is not defined yet
default: ${{ inputs.input2 }}
input2:
type: string
# OK: `input1` was already defined above
default: ${{ inputs.input1 }}
Check types of default values of workflow call inputs even if ${{ }} expression is used.
on:
workflow_call:
inputs:
input1:
type: boolean
input2:
type: number
# ERROR: Boolean value cannot be assigned to number
default: ${{ inputs.input1 }}