Skip to content

Update Contributors #18

Update Contributors

Update Contributors #18

name: Update Contributors
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
env:
token: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
jobs:
update-contributors:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: latest
- name: Install dependencies
run: npm install
- name: Run script
run: npm run start
- name: Commit and push if it changed
run: |
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "chore: update contributors list"
git push