Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request [Branch Planner]: Ability to specify additional paths to watch #1449

Open
ltamrazov opened this issue Sep 25, 2024 · 1 comment

Comments

@ltamrazov
Copy link

Hi,

We are tackling a use case where we are integrating FluxCD with a terraform repo that contains many states, as our terraform is modular by components.

We have a Terraform resource for every state and the branch planner creates additional resources per state per PR. As a result we end up in a situation where every PR has 100s of comments, even though most of them are re: unmodified components. They just say 'No changes detected'.

The enablePathScope almost solves this issue. But the problem is that if we enable it, we'll stop detecting changes to shared modules that live in their own directories and are used by other components.

It would be great to be able to specify additionalPathsToWatch property, that would contain other paths that should trigger new resources. Looking at the code it seems to be quite a straight forward change.

Would love to know your thoughts and would be happy to submit a PR.

@ltamrazov
Copy link
Author

I pre-emptively created a PR to demonstrate the idea, it was a really quick change 🙂 #1450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant