version: 2.1
setup: true
orbs:
  path-filtering: circleci/path-filtering@1.3.0

workflows:
  version: 2.1
  generate-config:
    jobs:
      - path-filtering/filter:
          filters:
            tags:
              only:
                - /.*/
          base-revision: main
          config-path: .circleci/continue_config.yml
          mapping: |
            .circleci/.* run-all-workflows true
            gpt4all-backend/.* run-all-workflows true
            gpt4all-bindings/python/.* run-python-workflow true
            gpt4all-bindings/typescript/.* run-ts-workflow true
            gpt4all-chat/.* run-chat-workflow true
