Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use the default workspace directory when building commands con…
…text When pre_workflow_hooks is being used to generate atlantis.yaml and projects are set with specific workspaces different than "default", a different directory is created for each project-workspace pair, but all those that are not on the "default" workspace will not have an atlantis.yaml file at their root. This change ensures that when atlantis is building the projects commands for either: - a project-specific plan, triggered via (atlantis plan -d foo -w bar) - a project-specific apply, triggered vi (atlantis apply -d foo -w bar) - or applies for all the plans it can find (atlantis apply) it uses the default workspace to find the atlantis.yaml config.
- Loading branch information