From 1574f6573866ebdbaf20a9635695aec789e1a959 Mon Sep 17 00:00:00 2001 From: platane Date: Mon, 17 Jul 2023 22:48:32 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=93=20update=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce17b19..f694a03 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Available as github action. It can automatically generate a new image each day. **github action** ```yaml -- uses: Platane/snk@v2 +- uses: Platane/snk@v3 with: # github user name to read the contribution graph from (**required**) # using action context var `github.repository_owner` or specified user @@ -54,6 +54,10 @@ Available as github action. It can automatically generate a new image each day. dist/github-snake.svg dist/github-snake-dark.svg?palette=github-dark dist/ocean.gif?color_snake=orange&color_dots=#bfd6f6,#8dbdff,#64a1f4,#4b91f1,#3c7dd9 + + env: + # a github token is required to fetch the contribution calendar from github API + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` [example with cron job](https://github.com/Platane/Platane/blob/master/.github/workflows/main.yml#L24-L29)