Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wkk-dev authored Feb 25, 2024
1 parent 27d70d3 commit 6513fc3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- name: generate-snake-game-from-github-contribution-grid
# You may pin to the exact commit or the version.
# uses: Platane/snk@aebc3a92857730857d5a96010a3538f16bbec662
uses: Platane/snk@v3.0.0
with:
# github user name
github_user_name:
# list of files to generate.
one file per line. Each output can be customized with options as query string.

supported query string options:

- palette: A preset of color, one of [github, github-dark, github-light]
- color_snake: Color of the snake
- color_dots: Coma separated list of dots color.
The first one is 0 contribution, then it goes from the low contribution to the highest.
Exactly 5 colors are expected.
example:
outputs: |
dark.svg?palette=github-dark&color_snake=blue
light.svg?color_snake=#7845ab
ocean.gif?color_snake=orange&color_dots=#bfd6f6,#8dbdff,#64a1f4,#4b91f1,#3c7dd9
outputs: # optional

0 comments on commit 6513fc3

Please sign in to comment.