Hello community members! I am trying to integrate ...
# help
b
Hello community members! I am trying to integrate infracost with github actions and github enterprise:
Copy code
- 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?
b
Hey! I think the
--github-api-url
should not contain the
/api/v3
part, but just the domain. Can you try that?
b
will try!
thanks for reaching back to me!
b
Sure thing, let me know how this goes, we'll make it work! 🙂
b
Will do!
yuss! I think that did it!
b
Awesome!
b
Yes!! Sure did. Thanks a ton @busy-agent-35515
b
Of course! 🙂
w
@big-monkey-25816 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.
b
@white-airport-8778 yeah, that sounds interesting. Does it work on on-premise github enterprise instances?
w
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
b
yeah sounds good. My email: ngray@pindrop.com Feel free to reach out to me!
w
Thanks! I’ll do some quick research and reach out next week 🙂 much appreciated