In my use-case, I have a monorepo with several modules and use the path filtering to run workflows on each module individually and this works really well. Nonetheless, the modules list is dynamic (new module can be added or removed from a commit to another) and I want the
mapping
section to be dynamically determined and hence, be automatically generated based on some module identification rules. For that purpose, I tried to create a setup workflow to generate the configuration containing the path filtering but I am facing one limitation of the system (which I did not know existed from just reading the documentation but which I found out later here https://github.com/CircleCI-Public/api-preview-docs/blob/master/docs/setup-workflows.md#limitations) which states that "a pipeline cannot be continued with another setup configuration" and which may explain the error I am getting : "Continuation config contains setup stanza whilst not in setup anymore". I was wondering whether it would be possible in the future to have multiple continuation pipelines or if not, if there was a way to achieve my usecase with a dynamic
mapping
section.