Skip to content

Merge pull request #4028 from AMAN194701/fix/4019-bulkimport-apifetch… #1525

Merge pull request #4028 from AMAN194701/fix/4019-bulkimport-apifetch…

Merge pull request #4028 from AMAN194701/fix/4019-bulkimport-apifetch… #1525

name: Update Contributors
on:
push:
branches: [main, master]
schedule:
- cron: "0 2 * * *" # daily at 02:00 UTC
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Sync contributors
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python3 .github/scripts/sync_contributors.py
- name: Commit if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add data/contributors.json README.md
if git diff --staged --quiet; then
echo "No changes — skipping commit"
else
git commit -m "chore: sync contributors list [skip ci]"
git push
fi