-
Notifications
You must be signed in to change notification settings - Fork 514
33 lines (33 loc) · 976 Bytes
/
update_python_test.yml
File metadata and controls
33 lines (33 loc) · 976 Bytes
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
name: Update Python Test Versions
permissions:
contents: write
pull-requests: write
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *"
jobs:
update-dep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/setup-python@v6
with:
python-version: 3.9
- name: Install
run: pip install --upgrade requests pyyaml
- name: Scan for new python versions
run: python ci/update_python_test_versions.py
- name: Format results
run: npx prettier --write ".github/workflows/update_python_test.yml"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
commit-message: Update tested python versions
title: Update tested python versions
branch: update-python-versions
labels: |
skip-changelog
dependencies