-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1010 Bytes
/
update-versions.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
name: check for new CPython versions
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
jobs:
check-versions:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: set up environment
run: |
python -m venv env
./env/bin/python -m pip install -r requirements.txt
- name: check for new versions
run: |
./env/bin/python fetcher.py
- name: create PR
uses: peter-evans/create-pull-request@v6
with:
commit-message: "[BOT] update versions"
branch: update-versions
branch-suffix: timestamp
title: "[BOT] update versions"
body: |
This is an automated pull request.
Please review manually before merging.
assignees: "woodruffw"
reviewers: "woodruffw"