Hi is it possible for Infracost to read private re...
# general
h
Hi is it possible for Infracost to read private repo on GitHub? Do I need to give some additional permissions ?
l
Hi @happy-electrician-59798 how are you running Infracost? Are you using the GitHub action. CLI directly or something else?
h
I am running with CircleCI orb on a private repo. I know I can still get the breakdown and write a script to post a comment on GH. But would be nice if I can work directly with infracost and pvt repo on GH.
l
@happy-electrician-59798 thanks for the details. The circleci-orb is deprecated. Instead we recommend using the steps here: https://github.com/infracost/infracost-circleci. This should work okay with private repos if you set the
GITHUB_TOKEN
env variable in CircleCI to a token that has access to your repo.
h
Thank you! I will check this out