on:
  workflow_call:
    inputs:
      # input without fields
      input0:
      input1:
        description: input without type
      # input without description
      input2:
        type: string
      input3:
        description: input with invalid type
        type: unknown
      input4:
        description: non-boolean type value for 'required'
        required: yes
      input5:
        description: unknown field
        type: number
        unknown: hello
      input0:
        description: duplicate input name
        type: number
      input6:
        description: type mismatch string for number
        default: foooo
        type: number
      input7:
        description: type mismatch (number for boolean)
        default: 123
        type: boolean
      input8:
        description: invalid mapping at `type`
        type:
          foo: bar
    secrets:
      # no field
      secret0:
      secret1:
        description: unknown field
        unknown: bye
      secret1:
        description: duplicate secret name
    # unknown key for workflow_call event
    unknown:

jobs:
  test:
    runs-on: ubuntu-24.04
    steps:
      - run: echo ${{ inputs.unknown_input }}
