This week, I started getting a workflow depth error on my reusable workflows (called with workflow_call). Here’s the error:
[ Invalid workflow file : .github/workflows/my_workflow.yaml#L1]
error parsing called workflow “example/example/.github/workflows/my_workflow.yaml@master”: workflow is invalid: job “a job name” calls workflow “example/example/.github/workflows/my_workflow_reusable.yaml@master”, but doing so would exceed the limit on called workflow depth of 2
What’s going on here? I see zero documentation anywhere about this error.
If I kick off a run of my_workflow.yaml, it runs fine. This error only appears when I run my reusable workflow.