atlantis icon indicating copy to clipboard operation
atlantis copied to clipboard

How to disable Github App for module repos

Open mihneastaub opened this issue 2 years ago • 21 comments

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.

Overview of the Issue

Hello Guys,

Is not exactly a issue, the idea is that we have repos for deploying with terraform and some repos that are for terraform modules. After I have added the Github App inside of the atlantis it seems that atlantis will run terraform plan for all repositories that have access.

The questions is: Is there a way to change the .gitconfig file in order to clone module repos with ssh and use the GitHub app only for cloning the repo that terraform is running?

Reproduction Steps

Use atlantis with GitHub App, add two repos inside of the GitHub App and the plan will run for both PRs.

Logs

No logs.

Environment details

There are repositories for deploying with terraform and they are repositories for private module.

Additional Context

No additional context.

mihneastaub avatar Dec 05 '22 07:12 mihneastaub