include-source: false # Drop file/line/col from output
---
on:
  push:
    branches:
      - main
  workflow_call:
    inputs:
      test_string:
        description: test input
        required: true
        type: string
      test_number:
        required: false
        type: number
      test_boolean:
        required: false
        type: boolean
    secrets:
      shh:
        required: true
jobs:
  my-job:
    runs-on: ubuntu-latest
    steps:
      - run: echo hi
---
{
  "jobs": [
    {
      "type": "job",
      "id": "my-job",
      "name": "my-job",
      "if": {
        "type": 3,
        "expr": "success()"
      },
      "runs-on": "ubuntu-latest",
      "steps": [
        {
          "id": "__run",
          "if": {
            "type": 3,
            "expr": "success()"
          },
          "run": "echo hi"
        }
      ]
    }
  ]
}
