Skip to content

Update README cards #148

Update README cards

Update README cards #148

Workflow file for this run

name: Update README cards
on:
schedule:
- cron: "0 0 * * *" # Everyday midnight
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- name: Generate stats card
uses: readme-tools/github-readme-stats-action@v1
with:
card: stats
options: username=${{ github.repository_owner }}&theme=dark&hide_border=true&include_all_commits=true&count_private=true
path: profile/stats.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate top languages card
uses: readme-tools/github-readme-stats-action@v1
with:
card: top-langs
options: username=${{ github.repository_owner }}&theme=dark&hide_border=true&include_all_commits=true&count_private=true&layout=compact
path: profile/top-langs.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit cards
run: |
git config user.name "github-actions"
git config user.email "github-actions@users.noreply.github.com"
git add profile/*.svg
git commit -m "Update README cards" || exit 0
git push