Skip to content

Update members

Update members #335

name: Update members
on:
schedule:
- cron: "*/15 * * * *"
workflow_dispatch:
jobs:
update-members:
name: Update
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Update
shell: bash
run: ./.github/workflows/update-members.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
set +e
git add *.json
git commit -m "Update members"
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main