Skip to content

Update README

Update README #364

Workflow file for this run

name: Update README
on:
schedule:
- cron: '0 */12 * * *' # Run every hour
workflow_dispatch:
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run update script
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: node update-readme.js
- name: Commit and push changes
run: |
git config --global user.name 'jcabak'
git config --global user.email 'jakubcabak@gmail.com'
git add README.md package.json
git commit -m 'Update README with latest pull requests'
git push
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}