SvanBoxel / organization-workflows

Need to centrally manage and run Actions workflows across multiple repositories? This app does it for you.
ISC License
133 stars 33 forks source link

How to exclude directories in custom configuration file #35

Open lauracavaliere opened 3 years ago

lauracavaliere commented 3 years ago

Hi @SvanBoxel,

We are using your Organization workflows app. In our project, we want the app to be triggered by any push events only on specific directories inside multiple repos which belong to the same organization.

Following your documentation seems possible, creating a configuration file, to exclude from the trigger repositories but not directories. Does your app handle this case? If no, do you have any suggestions on how to deal with this issue?

Thank you in advance.

cc @ilaria-carlini

SvanBoxel commented 3 years ago

Hi @lauracavaliere, sorry for the late reply. This is currently not something that is supported by the app itself, but you can do this check in the central workflows. There are Actions available that help you to achieve something like this: https://github.com/marketplace/actions/get-all-changed-files