GitHub 组织操作失败

问题描述 投票:0回答:1

你能帮忙解决这个错误吗,

运行 Platane/snk/svg-only@v3 和: github_user_name: sankacrew 输出:dist/snake.svg?palette=github-dark github_令牌:*** 🎣 获取 github 用户贡献 错误:操作失败,并显示“无法解析为登录为‘sankacrew’的用户。”

enter image description here

错误:操作失败,并显示“无法解析为登录为‘sankacrew’的用户。”

github github-actions organization
1个回答
0
投票

或者,如果您的目标是为当前用户生成蛇,则可以将操作变量传递给存储库所有者

github_user_name
。像这样:

- name: generate github-contribution-grid-snake.svg
  uses: Platane/snk/svg-only@v3
  with:
    github_user_name: ${{ github.repository_owner }}
    outputs: |
      dist/github-contribution-grid-snake.svg?color_snake=orange
      dist/github-contribution-grid-snake-dark.svg?palette=github-dark&color_snake=orange
© www.soinside.com 2019 - 2024. All rights reserved.