mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
test2
This commit is contained in:
7
.github/scripts/request_review.py
vendored
7
.github/scripts/request_review.py
vendored
@ -54,6 +54,13 @@ def log_fail(message: str, *, die: bool = True) -> Iterator[None]:
|
||||
|
||||
gh = GitHub(os.environ["GITHUB_TOKEN"])
|
||||
|
||||
from importlib.metadata import version
|
||||
print("githubkit", version("githubkit"))
|
||||
print("loguru", version("loguru"))
|
||||
print("token_start", repr(os.environ["GITHUB_TOKEN"][:10]))
|
||||
print(*os.environ)
|
||||
exit()
|
||||
|
||||
with log_fail("Invalid token"):
|
||||
# Do the simplest request as a test
|
||||
gh.rest.rate_limit.get()
|
||||
|
Reference in New Issue
Block a user