You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
I have a few projects that depend on a module that should not auto plan unless a file is modified within them.
Ran Plan for 2 projects:
1. project: `prod` dir: `global/prod` workspace: `default`
1. project: `dev` dir: `global/dev` workspace: `default`
In 0.26.0 without --autoplan-modules
Ran Plan for 1 project:
1. project: `dev` dir: `global/dev` workspace: `default`
The global/prod root dir should not have planned.
Logs
{"level":"debug","ts":"2023-10-25T14:25:28.828Z","caller":"events/project_finder.go:192","msg":"checking if project at dir \"global/dev\" workspace \"default\" was modified","json":{"repo":"<repo>","pull":"186"}}
{"level":"debug","ts":"2023-10-25T14:25:28.828Z","caller":"events/project_finder.go:192","msg":"checking if project at dir \"global/prod\" workspace \"default\" was modified","json":{"repo":"<repo>","pull":"186"}}
{"level":"info","ts":"2023-10-25T14:25:28.828Z","caller":"events/project_command_builder.go:435","msg":"2 projects are to be planned based on their when_modified config","json":{"repo":"<repo>","pull":"186"}}
nitrocode
changed the title
Projects auto planning when they should not
Defined projects when_modified is not respected when --autoplan-modules is used
Oct 25, 2023
Community Note
Overview of the Issue
I have a few projects that depend on a module that should not auto plan unless a file is modified within them.
Reproduction Steps
The files modified were
In 0.26.0 with
--autoplan-modules
In 0.26.0 without
--autoplan-modules
The global/prod root dir should not have planned.
Logs
Environment details
Additional Context
The text was updated successfully, but these errors were encountered: