feat: avg score #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update README.md | |
on: | |
push: | |
branches: [main] | |
schedule: | |
- cron: "5 0 * * *" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Cache pnpm | |
uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Update README.md | |
run: pnpm gen | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: "Generated SVG and updated README.md" | |
default_author: github_actions |