Skip to content

Commit

Permalink
fix: Ensure autoplan self (#288)
Browse files Browse the repository at this point in the history
Bug introduced in last release dropped autoplan for self
  • Loading branch information
vincenthsh committed Apr 24, 2024
1 parent 3b52016 commit 5db4cca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plan/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func (p *Plan) buildAtlantisConfig(c *v2.Config) AtlantisConfig {
uniqueModuleSources = append(uniqueModuleSources, *m.Source)
}
}
whenModified := []string{}
whenModified := []string{"*.tf"}
if d.AutoplanRelativeGlobs != nil {
whenModified = append(whenModified, d.AutoplanRelativeGlobs...)
}
Expand Down
3 changes: 3 additions & 0 deletions testdata/v2_atlantis_depends_on/atlantis.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions testdata/v2_tf_registry_module_atlantis/atlantis.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5db4cca

Please sign in to comment.