Skip to content
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

Add an option to disable github plan/apply/policy_check comments for a workflow #4386

Open
1 task done
anryko opened this issue Mar 27, 2024 · 1 comment 路 May be fixed by #4543
Open
1 task done

Add an option to disable github plan/apply/policy_check comments for a workflow #4386

anryko opened this issue Mar 27, 2024 · 1 comment 路 May be fixed by #4543
Labels
feature New functionality/enhancement

Comments

@anryko
Copy link
Contributor

anryko commented Mar 27, 2024

Community Note

  • 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.

Describe the user story

I have dozens of Atlantis servers running (one per cloud account) and in some cases, the Terraform change has to be processed by all of them. This causes a lot of comment noise in the GitHub PR thread. I would like to rely solely on the GitHub status checks in those cases.

Describe the solution you'd like

It would be helpful to have an ENV VAR like ATLANTIS_SILENCE_COMMENTS=true (or something more flexible e.g. ATLANTIS_SILENCE_COMMENTS=plan,apply, ATLANTIS_SILENCE_COMMENTS=all), which could be set globally or per workflow step to stop Atlantis from posting comments to the GH PR thread, but leave the GH status_check behavior unchanged.

Describe the drawbacks of your solution

None.

Describe alternatives you've considered

Tried using the workflow step run command output: hide option. It disables the Terraform output but the minimal comment with the atlantis apply|unlock instructions is still posted to GH PR thread.

@anryko anryko added the feature New functionality/enhancement label Mar 27, 2024
@3bbbeau
Copy link

3bbbeau commented Mar 28, 2024

Thanks for posting this @anryko , it seems like we had somewhat similar thoughts on having more control over silencing comments.

#4388

I think my feature request above would fall under here instead as yours is more generic, e.g. ATLANTIS_SILENCE_COMMENTS=plan,apply,multienv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement
Projects
None yet
2 participants