https://infracost.io logo
#help
Title
# help
b

big-monkey-25816

10/13/2022, 2:40 PM
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

busy-agent-35515

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?
b

big-monkey-25816

10/13/2022, 3:33 PM
will try!
thanks for reaching back to me!
b

busy-agent-35515

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

big-monkey-25816

10/13/2022, 3:34 PM
Will do!
yuss! I think that did it!
b

busy-agent-35515

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

big-monkey-25816

10/13/2022, 3:40 PM
Yes!! Sure did. Thanks a ton @busy-agent-35515
b

busy-agent-35515

10/13/2022, 3:40 PM
Of course! 🙂
w

white-airport-8778

10/13/2022, 6:37 PM
@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

big-monkey-25816

10/13/2022, 6:42 PM
@white-airport-8778 yeah, that sounds interesting. Does it work on on-premise github enterprise instances?
w

white-airport-8778

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
b

big-monkey-25816

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

white-airport-8778

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