This repository was archived by the owner on Dec 20, 2024. It is now read-only.
Update contributors #201
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update contributors | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # run weekly, every Sunday at 0:00 | |
| - cron: '0 0 * * 0' | |
| jobs: | |
| udpate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Check for new contributors | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| ./update_contributors.py | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v3 | |
| with: | |
| branch: contributors | |
| delete-branch: true | |
| title: Update contributors | |
| commit-message: Update contributors |