Update contributors #159
This file contains 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 |