0

Can you help to solve this error.

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'."

enter image description here

Error: Action failed with "Could not resolve to a User with the login of 'sankacrew'."

1
  • it might be because of some bug in the Platane/snk action not your implementation, try their demo website it is throwing error for all users. Commented Mar 22, 2024 at 4:23

1 Answer 1

0

Alternatively you can pass to action variable github_user_name the repository owner if you are targeting to generate snake for current user. Like this:

- 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
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.