ZedThree / clang-tidy-review

Create a pull request review based on clang-tidy warnings
MIT License
88 stars 44 forks source link

Hardcoded GitHub API url doesn't work on GitHub Enterprise Server #64

Closed rajbos closed 1 year ago

rajbos commented 1 year ago

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

ZedThree commented 1 year ago

Ah, good point! PRs welcome :)

rajbos commented 1 year ago

I've tried to address it, hope that works (no Python expert here 🤗).