You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

GitHub Action执行失败:无法找到用户`sankacrew`求助

解决GitHub Action中"Could not resolve to a User with the login of 'sankacrew'"错误

你遇到的报错信息如下:

Run Platane/snk/svg-only@v3
  with:
    github_user_name: sankacrew
    outputs: dist/snake.svg?palette=github-dark
    github_token: ***
🎣 fetching github user contribution
Error: Action failed with "Could not resolve to a User with the login of 'sankacrew'."

解决步骤:

  • 核对用户名准确性:确认sankacrew是正确的GitHub用户名,检查是否存在拼写、大小写错误(GitHub用户名实际不区分大小写,但输入需和账号注册名完全匹配),可直接在GitHub搜索该用户名,确认账号是否存在。
  • 检查Token权限:若使用仓库默认的GITHUB_TOKEN,其权限范围有限,尤其在组织仓库运行时。建议改用个人访问令牌(PAT),生成时勾选read:user和repo权限,确保能读取目标用户的贡献数据。
  • 确认账号状态:检查sankacrew账号是否正常存在,未被删除、封禁,或设置了完全私有贡献(私有贡献会导致无法获取公开贡献数据)。

内容的提问来源于stack exchange,提问作者Malitha Piyumal Sankalpa

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.27 17:15:53