You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like there's not proper handling of instances of GitHub Enterprise Server with regards to authentication and queries against the API. When authenticating to GitHub Enterprise Server installations with github3 you need to specifically use the GitHubEnterprise object and pass in the URL of the server, and then use that for the rest of the calls. Looks like the code in
only really uses the default object, which will interact with the GitHub.com API. The environment variables should be able to be used to determine whether this is a GitHub.com workflow or an enterprise server workflow, specifically GITHUB_SERVER_URL which is already passed into the Docker environment for the action.
The text was updated successfully, but these errors were encountered:
Looks like there's not proper handling of instances of GitHub Enterprise Server with regards to authentication and queries against the API. When authenticating to GitHub Enterprise Server installations with
github3
you need to specifically use theGitHubEnterprise
object and pass in the URL of the server, and then use that for the rest of the calls. Looks like the code inissue-metrics/issue_metrics.py
Line 116 in 92b849a
GITHUB_SERVER_URL
which is already passed into the Docker environment for the action.The text was updated successfully, but these errors were encountered: