Combine "triggers" and dynamic-config

Hello,

We’re using the path-filtering which uses dynamic configuration pipelines underneath. I’m trying to combine but path-filtering/filter with triggers but although the configuration is valid, circleCI comes with “No Workflow”, hence nothing runs.

My config:

workflows:
  deploy:
    triggers:
      - schedule:
          cron: "0 8 * * *"
          filters:
            branches:
              only:
                - develop
    jobs:
      # infra related jobs
      - queue/block_workflow:
          circleci-api-key: CIRCLECI_TOKEN
      - infra-janitor:
          cluster: << pipeline.parameters.cluster_id_dev >>
          dryrun: false
          requires:
            - queue/block_workflow
      # Decide what to deploy
      - path-filtering/filter:
          config-path: .circleci/config_continue.yml
          base-revision: HEAD~1
          mapping: |
            modules/path1.* workflow1 true
            modules/path2.* workfow2 true
          filters:
            branches:
              only:
                - /dev\/.*/
                - develop

If I comment out triggers and other jobs the setup works as expected, otherwise doesn’t.

Is there any way I can combine the two?