The aim of this project is to generate commits statistics from a specific GitHub repository and present them as an SVG file. The statistics are updated daily using a GitHub Action to reflect the latest contributions.
- Generates an SVG chart of commit statistics for a GitHub repository.
- Automatically updates data every day using a GitHub Action.
- Easy customisation of the graph by modifying the parameters.
Pour utiliser ce générateur de statistiques, suivez ces étapes simples :
Fork a project
Adapter le Github action
:
-
Put your { TOKEN and repo } values in the 'Secret and vairable ==> Action '
-
After test a Github Action
name: GitHub-Profile-3D-Contrib
on:
schedule: # 03:00 JST == 18:00 UTC
- cron: "0 18 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: generate-github-profile-3d-contrib
steps:
- uses: actions/checkout@v3
- uses: yoshi389111/github-profile-3d-contrib@0.7.1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
USERNAME: ${{ github.repository_owner }}
- name: Commit & Push
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add -A .
git commit -m "generated"
git push