use github api to fetch the contribution calendar (instead of parsing the html page)
- the action now requires a github token.
- name: generate-snake-game-from-github-contribution-grid
id: generate-snake
uses: ./svg-only
with:
github_user_name: ${{ github.repository_owner }}
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}