Skip to content

Update Contributors #34

Update Contributors

Update Contributors #34

Workflow file for this run

name: Update Contributors
on:
push:
branches:
- main
schedule:
- cron: "0 0 * * *"
permissions:
contents: write
jobs:
update-contributors:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Fetch contributors and update README
run: |
pip install requests
python update_readme.py
env:
TOKEN_GH: ${{ secrets.TOKEN_GH }}
- name: Commit and push changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add README.md
git commit -m "Update contributors"
git push