Skip to content

update maintainer data cronjob #63

update maintainer data cronjob

update maintainer data cronjob #63

name: update maintainer data cronjob
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 20 1 * *"
jobs:
updateProjectData:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- run: pip install -r ./project/requirements.txt
- run: |
./project/bin/get_maintainer_data
env:
GITHUB_TOKEN: ${{secrets.BOT_GITHUB_TOKEN}}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: Update maintainer data
signoff: true
token: ${{secrets.BOT_GITHUB_TOKEN}}