Update Python Test Versions #1311
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 Python Test Versions | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 1 * * *" | |
jobs: | |
update-dep: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- uses: actions/setup-python@v4 | |
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@v4 | |
with: | |
commit-message: Update tested python versions | |
title: Update tested python versions | |
branch: update-python-versions | |
labels: | | |
skip-changelog | |
dependencies |