Update README ✍️ #4648
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 ✍️ | |
# Run hourly | |
on: | |
push: | |
branches: [main] | |
schedule: | |
- cron: "0 */1 * * *" | |
workflow_dispatch: | |
jobs: | |
readme-scribe: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate README.md | |
uses: muesli/readme-scribe@v0.1 | |
with: | |
template: "templates/README.md.tpl" | |
writeTo: "profile/README.md" | |
- name: Commit README.md | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commit_message: "docs: update README.md" | |
branch: main | |
commit_user_name: GitHub Actions | |
commit_user_email: actions@github.com | |
commit_author: GitHub Actions <actions@github.com> |