actions-permissions icon indicating copy to clipboard operation
actions-permissions copied to clipboard

GitHub Enterprise Support

Open martincostello opened this issue 1 year ago • 3 comments

I was taking a look at the actions with a view to maybe trying them out in GitHub Enterprise Server, but it seems that the actions assume running in github.com in a few places (example).

If the GITHUB_API_URL, GITHUB_GRAPHQL_URL and GITHUB_SERVER_URL environment variables were inspected when building up the list of hosts/URLs to inspect requests to then I would have thought it would then theoretically work.

martincostello avatar Jun 28 '23 15:06 martincostello

Good point, thank you for you feedback! If you could try applying the changes and try it with GHE (you can use - uses: martincostello/actions-permissionsmonitor@your_branch) I would merge that!

JarLob avatar Jun 28 '23 15:06 JarLob

Sure - I'll try it out later this week and see what happens!

martincostello avatar Jun 28 '23 15:06 martincostello

I went through and replaced api.github.com with our domain/api/v3, and all other github.com to our domain and so far it's seeming to work just fine. Not sure how to automate this though

vedevilolivedev avatar Jul 05 '23 22:07 vedevilolivedev

Implemented in f62d32cd684392a758c627a58e0756b734bd54fd

JarLob avatar Jul 08 '24 15:07 JarLob