-
Notifications
You must be signed in to change notification settings - Fork 14
43 lines (36 loc) · 1.23 KB
/
Copy pathupdate-plugin-list.yml
File metadata and controls
43 lines (36 loc) · 1.23 KB
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
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
python-version: 3.12
- name: Update Plugin List
run: uv run --group plugin-list python scripts/update_plugin_list.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1
with:
commit-message: '[automated] Update plugin list'
author: 'Tobias Raabe <tobiasraabe@users.noreply.github.com>'
branch: update-plugin-list/patch
delete-branch: true
title: '[automated] Update plugin list'
body: '[automated] Update plugin list'