Does the action supports different API endpoint for GitHub enterprise? #255
Unanswered
ricardojdsilva87
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
This is a recent feature enhancement where enterprises can now create GitHub Apps just for their enterprise. Thank you for pointing out we need to re-address the GitHub App authentication url. I'm reviewing your PR now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone I just have a question regarding the evergreen action.
During my tests it seems that the action works well with the
GH_TOKEN
but not with the GitHub App credentials. The issue seems to be on the API usage for an Enterprise URL endpoint.With the
GH_TOKEN
the API endpoint is correct, adding the/api/v3
to the providedGH_ENTERPRISE_URL
.Using the secrets for the created GitHub App and running it locally with DEBUG logs I get the following result:
It seems that using a GitHub App as authentication, the endpoint used is still the one for github.com, thus failing the authentication since the installed app does not exist in github.com.
Not sure if I'm doing something wrong or missing some setting?
Thank you for the help
Beta Was this translation helpful? Give feedback.
All reactions