Skip to content

Update members number #1062

Update members number

Update members number #1062

name: Update members number
on:
schedule:
- cron: "30 15 * * *"
jobs:
update-number:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install
run: yarn
- name: Update data
run: node ./script/update-members.js
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Commit and push if changed
run: |-
git diff
git config --global user.email "[email protected]"
git config --global user.name "zoo-js-bot"
git pull
git add -A
git commit -m "πŸ€– auto: updated members number" || exit 0
git push