-
Notifications
You must be signed in to change notification settings - Fork 11
48 lines (40 loc) · 1.27 KB
/
update-plugin-list.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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@271a8d0340265f705b14b6d32b9829c1cb33d45e
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'