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.
nitrocode
changed the title
Discard approvals by default in v0.22.0 due to missing flag logic
Discard approvals by default in v0.22.0 due to missing logic
Jan 3, 2023
Community Note
Overview of the Issue
See #2696 (comment)
The discarding of approvals is default on accident. There isn't any logic to enable or disable it despite the value of the flag
Reproduction Steps
Logs
Environment details
v0.22.0
Additional Context
Workaround is to use v0.21.0
Edit: we need a check here
atlantis/server/events/plan_command_runner.go
Lines 161 to 168 in 9595b23
Before a check can be added, we need to add a boolean here to
PlanCommandRunner
atlantis/server/events/plan_command_runner.go
Lines 48 to 70 in 9595b23
Before doing that, you'd need to pass the flag here
atlantis/server/server.go
Lines 660 to 668 in 9595b23
We'd also need some tests with this flag and without this flag.
Honestly, it might be better to revert the pr for now and cut a v0.22.1 release.
The text was updated successfully, but these errors were encountered: