I'm trying to build a pipeline that infers 'actions' from the repo content. And run dagger function depending on a detected plan. e.g. pre-commit if pre-commit-config.yaml is there.
Aim is to have a high level module 'pipeline' that 1st detect what needs to be run and run it based on the content. However, it's not clear to me in the doc how the standard python can be used with dagger.Directory.