Open zbuchheit opened 1 year ago
A customer left feedback that specifically an option to have "comment even with no changes" would be desired
Having that option is one thing, but even without it we believe there is a scenario where comment should be added regardless of configuration. This is when any comment for particular stack had been added previously in PR. So currently:
I fully understand that in many cases adding an empty comment showing no changes makes no sense, but if there was a previous comment, the update should be always added IMO
Another note is that for scenarios with PR checks they don't show up if there are no pulumi changes which is a little inconvenient for branch protection rules. https://pulumi-community.slack.com/archives/C048NVDH6DV/p1697592426894389
Affected feature
Pulumi Github App/Bot
Current Behavior:
At present, if an action results in no changes, the Pulumi GitHub App/Bot does not post a comment on the Pull Request. This lack of notification can lead to confusion as users might expect a comment noting the absence of changes.
Suggested Enhancement:
To improve user experience, add a feature to enable or disable comments from the Pulumi GitHub App/Bot for actions with no changes. This setting will allow users to choose according to their preference. Some users may want to receive comments for no changes, while others may prefer not to receive such notifications.