On workflow_run arbitrarily limited to 3 consecutive runs

It seems that if you have more than three workflows in a row with on workflow_run triggers, only the first three will run. As far as I can tell, this arbitrary limit is not documented anywhere.

Previously noticed by @mundusnine here.

It seems this limit is documented after all:

  • You can’t use workflow_run to chain together more than three levels of workflows. For example, if you attempt to trigger five workflows (named B to F ) to run sequentially after an initial workflow A has run (that is: ABCDEF ), workflows E and F will not be run.

However, it is a significant limitation for complex multi-stage pipelines. I suppose this is now a feature request to remove the limitation.