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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting emoji-reaction
to an Empty String does not Disable Comment Reactions
#3457
Comments
Working on this... :) |
It sounds weird to me that we will add another config flag to disable the emojis, I think this logic needs to be fixed. |
@jamengual, as in by default an emoji should never be reacted on a plan or apply comment in the first place? That would change the current default behaviour though, but it's not impactful if we want to make this change. |
yes, when we add features they are all behind a flag and disabled by default, so in this case, no emoji should be posted and if enabled an emoji should be configured. |
Community Note
Overview of the Issue
According to #3360, setting the
emoji-reaction
property to an empty string should disable comment reactions. This is not working, and the defaulteyes
emoji continues to be used.Reproduction Steps
config.yaml
GitHub Screenshot
Environment details
Environment details
Atlantis version: 0.23.5
Deployment method: local
If not running the latest Atlantis version have you tried to reproduce this issue on the latest version: n/a
Atlantis flags: none
Additional Context
This is due to the default emoji reaction logic overriding the empty string here:
atlantis/cmd/server.go
Lines 801 to 803 in 998eb63
Suggestion is to either add a new property to suppress the emoji reactions, e.g.
disable-emoji-reactions
or to use a 'magic value' foremoji-reaction
to disable the reactions instead, e.g.**Disabled**
.The text was updated successfully, but these errors were encountered: