Skip to content

Update README cards #36

Update README cards

Update README cards #36

Workflow file for this run

name: Update README cards
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Generate stats card
uses: stats-organization/github-readme-stats-action@v2
with:
card: stats
options: username=${{ github.repository_owner }}&locale=ru&show_icons=true
path: profile/stats.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate stats card (dark version)
uses: stats-organization/github-readme-stats-action@v2
with:
card: stats
options: username=${{ github.repository_owner }}&locale=ru&show_icons=true&theme=github_dark
path: profile/stats_dark.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate top languages card
uses: stats-organization/github-readme-stats-action@v2
with:
card: top-langs
options: username=${{ github.repository_owner }}&locale=ru&layout=compact&langs_count=6
path: profile/top-langs.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate top languages card (dark version)
uses: stats-organization/github-readme-stats-action@v2
with:
card: top-langs
options: username=${{ github.repository_owner }}&locale=ru&layout=compact&langs_count=6&theme=github_dark
path: profile/top-langs_dark.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