on: push

jobs:
  caller:
    uses: ./workflows/reusable.yaml
    with:
      aaa: this is not existing
      foo: this is existing
    secrets:
      bbb: this is not existing
      piyo: this is existing
  other:
    needs: [caller]
    runs-on: ubuntu-latest
    steps:
      - run: echo '${{ needs.caller.outputs.bar }} is existing'
      - run: echo '${{ needs.caller.outputs.ccc }} is not existing'
  empty:
    uses: ./workflows/empty_reusable.yaml
    with:
      input1: this is not existing
    secrets:
      secret1: this is not existing
