A GitHub Action to generate GitHub Readme Stats.
Example usage:
- name: Generate Stats
uses: UlyssesZh/grs-action@v0
with:
card: stats
options: username=${{ github.repository_owner }}&hide_border=true
path: grs/stats.svg
For an example of the generated card, see here.
For a more complicated example, see my own profile.
card
: The type of card to generate. Can bestats
(default),repo
,langs
,wakatime
, orgist
.options
: The options to pass to the card. For example,username=UlyssesZh&hide_border=true
. Defaults tousername=${{github.repository_owner}}
.path
: The path to save the generated card to. Defaults togrs/out.svg
.token
: The GitHub token to use for fetching data. Normally no need to set this.
Environment variables:
FETCH_MULTI_PAGE_STARS
: experimental multi-page fetching.