Skip to content

update-contributors #75

update-contributors

update-contributors #75

name: update-contributors
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 20 1 * *"
jobs:
updateContributors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- run: |
./hack/contributors.py
env:
GITHUB_TOKEN: ${{secrets.BOT_GITHUB_TOKEN}}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: Update contributors section
signoff: true
token: ${{secrets.BOT_GITHUB_TOKEN}}