如何获得 github-cli 的更多身份验证?

How to get more authenticated to github-cli?

我已通过令牌

github cli 进行身份验证
gh auth status -h lalala.com
#=>
lalala.com
  ✓ Logged in to lalala.com as lolofon (~/.config/gh/hosts.yml)
  ✓ Git operations for lalala.com configured to use https protocol.

但是,之后立即执行:

gh pr list --repo lala/portal
#=>
HTTP 401: This endpoint requires you to be authenticated. (https://api.github.com/graphql)

我做错了什么?谢谢!

显然这是一个错误:-(
您可以通过像这样设置环境变量来轻松解决此问题:

set GH_HOST=lalala.com

查看此GitHub issue了解详情