Skip to content

update-readme

update-readme #1540

Workflow file for this run

name: update-readme
on:
schedule:
- cron: '0 20 * * *'
push:
branches:
- 'main'
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
- run: node ./update.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: node ./generate-readme.js
- run: |
git config user.email "[email protected]"
git config user.name "Stefan Buck"
git add README.md data.json
git diff-index --quiet HEAD || git commit -m "Update awesome list"
- run: git push