Closed rajbos closed 1 year ago
The hardcoded GitHub API url doesn't work on GitHub Enterprise Server, the environment variable GITHUB_API_URL should be used.
GITHUB_API_URL
Code reference: https://github.com/ZedThree/clang-tidy-review/blob/master/post/clang_tidy_review/__init__.py#L115
Ah, good point! PRs welcome :)
I've tried to address it, hope that works (no Python expert here 🤗).
The hardcoded GitHub API url doesn't work on GitHub Enterprise Server, the environment variable
GITHUB_API_URL
should be used.Code reference: https://github.com/ZedThree/clang-tidy-review/blob/master/post/clang_tidy_review/__init__.py#L115