diff --git a/action.yml b/action.yml index 918549418..2e8f7c48e 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,7 @@ author: "platane" runs: using: docker - image: docker://platane/snk@sha256:b7835a30ad60660a0c3e1f669187932a7e098fe4949ed7df4ec3beb56c2cfb9f + image: docker://platane/snk@sha256:1c8a0b51a75ad8cf36b7defddd2187bdbb92bbbb5521a9e6cc5df795b00fc590 inputs: github_user_name: diff --git a/package.json b/package.json index 11e95bfde..a0bc1dde0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "snk", "description": "Generates a snake game from a github user contributions grid", - "version": "3.1.0", + "version": "3.2.0", "private": true, "repository": "github:platane/snk", "devDependencies": { diff --git a/svg-only/dist/index.js b/svg-only/dist/index.js index d8ae4e45a..5b518cdb6 100644 --- a/svg-only/dist/index.js +++ b/svg-only/dist/index.js @@ -3074,7 +3074,7 @@ const parseEntry = (entry) => { core.getInput("gif_out_path"), core.getInput("svg_out_path"), ]); - const githubToken = process.env.GITHUB_TOKEN; + const githubToken = process.env.GITHUB_TOKEN ?? core.getInput("github_token"); const { generateContributionSnake } = await __nccwpck_require__.e(/* import() */ 407).then(__nccwpck_require__.bind(__nccwpck_require__, 407)); const results = await generateContributionSnake(userName, outputs, { githubToken,