Skip to content

Workflow file for this run

name: Update README
on:
push:
paths:
- 'src/list.json'
- 'src/update-readme.js'
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensures full history is checked out for git operations
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Update README
run: node src/update-readme.js
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add README.md
git commit -m 'docs: update README based on JSON changes'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}