Filtering based on Github Labels

Hi, I’m currently using a monorepo with four apps in it.

For pull requests I’m using autolabeler to automatically assign labels to pull requests based on what area of the code has been updated, to assign the correct PR reviewer etc.

I think it would be great if we could conditionally run parts of our pipeline based on these labels, for example if I only make code changes in one, don’t run the test suites of the others.

Thoughts on this? Is it feasible/can it already be done?

Cheers,
Aaron

You can create a plugin for this. We are introducing a new category of plugins called configuration plugins. See my comment here, which includes an overview and a sample plugin: https://github.com/drone/drone/issues/1021#issuecomment-417819643