Title
#help
n

Nicholas Gray

10/13/2022, 2:40 PM
Hello community members! I am trying to integrate infracost with github actions and github enterprise:
- name: Post Infracost comment
        run: |
          infracost comment github \
            --github-api-url=<https://redacted/api/v3> \
            --path=/tmp/infracost.json \
            --repo=$GITHUB_REPOSITORY \
            --github-token=${{ secrets.BOTUSER_GH_TOKEN }} \
            --pull-request=${{ github.event.number }} \
            --behavior=update
I am receiving a 404 error. Does anyone see the same?
Vadim (Infracost)

Vadim (Infracost)

10/13/2022, 3:07 PM
Hey! I think the
--github-api-url
should not contain the
/api/v3
part, but just the domain. Can you try that?
n

Nicholas Gray

10/13/2022, 3:33 PM
will try!
3:33 PM
thanks for reaching back to me!
Vadim (Infracost)

Vadim (Infracost)

10/13/2022, 3:33 PM
Sure thing, let me know how this goes, we'll make it work! 🙂
n

Nicholas Gray

10/13/2022, 3:34 PM
Will do!
3:40 PM
yuss! I think that did it!
Vadim (Infracost)

Vadim (Infracost)

10/13/2022, 3:40 PM
Awesome!
n

Nicholas Gray

10/13/2022, 3:40 PM
Yes!! Sure did. Thanks a ton @Vadim (Infracost)
Vadim (Infracost)

Vadim (Infracost)

10/13/2022, 3:40 PM
Of course! 🙂
Ali (Infracost)

Ali (Infracost)

10/13/2022, 6:37 PM
@Nicholas Gray we just released our GH App that works with GitHub.com, let us know if that’s something you’d like to try on GitHub Enterprise as we’d love feedback on that.
n

Nicholas Gray

10/13/2022, 6:42 PM
@Ali (Infracost) yeah, that sounds interesting. Does it work on on-premise github enterprise instances?
Ali (Infracost)

Ali (Infracost)

10/13/2022, 6:44 PM
That’s what we’d like to work with a few early adopters to work through, we don’t yet have access to a GitHub Enterprise instance so if you’re up for it we can work with you to figure that out? It might be that we have a quick call and figure out we need to make changes to support github enterprise
n

Nicholas Gray

10/13/2022, 6:45 PM
yeah sounds good. My email: ngray@pindrop.com Feel free to reach out to me!
Ali (Infracost)

Ali (Infracost)

10/13/2022, 6:45 PM
Thanks! I’ll do some quick research and reach out next week 🙂 much appreciated