Update Plugin List #145
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 Plugin List | |
on: | |
schedule: | |
# At 18:00 on Monday. https://crontab.guru | |
- cron: '0 18 * * MON' | |
workflow_dispatch: | |
# Set permissions at the job level. | |
permissions: {} | |
jobs: | |
createPullRequest: | |
if: github.repository_owner == 'pytask-dev' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install packaging httpx tabulate[widechars] tqdm | |
- name: Update Plugin List | |
run: python scripts/update_plugin_list.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f | |
with: | |
commit-message: '[automated] Update plugin list' | |
author: 'Tobias Raabe <[email protected]>' | |
branch: update-plugin-list/patch | |
delete-branch: true | |
branch-suffix: short-commit-hash | |
title: '[automated] Update plugin list' | |
body: '[automated] Update plugin list' |