Skip to content

Commit

Permalink
chore: temp4
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciNyan committed Aug 15, 2024
1 parent 9c7ac81 commit fee29fe
Show file tree
Hide file tree
Showing 6 changed files with 1,423 additions and 1,407 deletions.
22 changes: 2 additions & 20 deletions action/action.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,18 @@
name: "generate-pixel-github-stats"
description: "Generates a github stats card from a github user contributions."
author: "platane"
author: "LuciNyan"

runs:
using: node20
main: dist/index.js

inputs:
github_user_name:
description: "github user name"
required: true
github_token:
description: "github token used to fetch the contribution calendar. Default to the action token if empty."
description: "github token used to fetch the contribution data. Default to the action token if empty."
required: false
default: ${{ github.token }}
outputs:
required: false
default: null
description: |
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.svg?color_snake=orange&color_dots=#bfd6f6,#8dbdff,#64a1f4,#4b91f1,#3c7dd9
Loading

0 comments on commit fee29fe

Please sign in to comment.